Skip to content

Commit

Permalink
Merge pull request #2 from Kundai-Kwangwari/main
Browse files Browse the repository at this point in the history
Eclat update
  • Loading branch information
Likhitha-palla authored Dec 30, 2021
2 parents 9196f42 + acfae0e commit 14cafc0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions PAMI/frequentPattern/basic/ECLAT.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,10 @@ def _generateFrequentPatterns(self, candidateFrequent):
newKey = item1 + " " + i2_list[-1]
self._finalPatterns[newKey] = [interSet]
new_freqList.append(newKey)
else: break

if len(new_freqList) > 0:
self._generateFrequentPatterns(new_freqList)
if len(new_freqList) > 0:
self._generateFrequentPatterns(new_freqList)

def _convert(self, value):
"""
Expand Down

0 comments on commit 14cafc0

Please sign in to comment.