Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions PAMI/frequentPattern/basic/Apriori.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@


__copyright__ = """
Copyright (C) 2021 Rage Uday Kiran
Copyright (C) 2026 Rage Uday Kiran

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -402,10 +402,10 @@ def printResults(self) -> None:
_ap = Apriori(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = Apriori(_ab._sys.argv[1], _ab._sys.argv[3])
_ap.mine()

_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ap._sys.argv[2])
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
print("Total Memory in RSS", _ap.getMemoryRSS())
print("Total ExecutionTime in ms:", _ap.getRuntime())
Expand Down
4 changes: 2 additions & 2 deletions PAMI/frequentPattern/basic/ECLAT.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@


__copyright__ = """
Copyright (C) 2021 Rage Uday Kiran
Copyright (C) 2026 Rage Uday Kiran

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -396,7 +396,7 @@ def printResults(self) -> None:
_ap = ECLAT(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = ECLAT(_ab._sys.argv[1], _ab._sys.argv[3])
_ap.mine()

_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
Expand Down
4 changes: 2 additions & 2 deletions PAMI/frequentPattern/basic/FPGrowth.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@


__copyright__ = """
Copyright (C) 2021 Rage Uday Kiran
Copyright (C) 2026 Rage Uday Kiran

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -532,7 +532,7 @@ def printResults(self) -> None:
_ap = FPGrowth(_fp._sys.argv[1], _fp._sys.argv[3], _fp._sys.argv[4])
if len(_fp._sys.argv) == 4:
_ap = FPGrowth(_fp._sys.argv[1], _fp._sys.argv[3])
_ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len( _ap.getPatterns()))
_ap.save(_fp._sys.argv[2])
Expand Down