BREDS icon indicating copy to clipboard operation
BREDS copied to clipboard

self.config.min_pattern_support in breds_parallel.py clarification

Open zqyeo opened this issue 5 years ago • 0 comments

Hi, I'd like to check on the variable self.config.min_pattern_support.

In line 293 (breds_parallel.py), the check for len(p.tuples) > self.config.min_pattern_support occurs under the if condition of len(self.patterns) == 0

However, under the else case, there is no such checks to remove patterns with tuples less than the min support. Is this deliberate by design? Otherwise, should the check also be done for len(self.patterns) != 0 too?

Thank you.

zqyeo avatar Apr 05 '19 16:04 zqyeo