Example #1
0
 def __init__(self, threshold, frequent_patterns, corpus_length):
     self.threshold = -float(threshold)
     self.frequent_patterns = frequent_patterns
     self.SF = ScoringFunctions(frequent_patterns, corpus_length)