Skip to content

Commit

Permalink
Update CoMine.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarun-Sreepada committed May 24, 2024
1 parent 2f9b169 commit 7824c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PAMI/correlatedPattern/basic/CoMine.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def recursive(self, item, nodes, root):
itemCounts[item] += count

# print(newRoot.item, itemCounts.keys())
itemCounts = {k:v for k, v in itemCounts.items() if v >= self._minSup}
itemCounts = {k:v for k, v in itemCounts.items() if v >= self._minSup and v/self._maxSup(newRoot.item, k) >= self._minAllConf}
if len(itemCounts) == 0:
return

Expand Down

0 comments on commit 7824c90

Please sign in to comment.