From 7dc1406f5c86c5181ef264d3587e0f644304b440 Mon Sep 17 00:00:00 2001 From: Ojash Date: Wed, 17 Jun 2026 22:49:32 +0900 Subject: [PATCH 1/4] Fix Apriori CLI save path and duplicate mine call --- PAMI/frequentPattern/basic/Apriori.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PAMI/frequentPattern/basic/Apriori.py b/PAMI/frequentPattern/basic/Apriori.py index b05e363f..0b935d71 100644 --- a/PAMI/frequentPattern/basic/Apriori.py +++ b/PAMI/frequentPattern/basic/Apriori.py @@ -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()) From 53c930a95d5d70e84b414f40c34a5d07e156b26a Mon Sep 17 00:00:00 2001 From: Ojash Date: Wed, 17 Jun 2026 23:07:44 +0900 Subject: [PATCH 2/4] Update copyright header --- PAMI/frequentPattern/basic/Apriori.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PAMI/frequentPattern/basic/Apriori.py b/PAMI/frequentPattern/basic/Apriori.py index 0b935d71..a30cc77f 100644 --- a/PAMI/frequentPattern/basic/Apriori.py +++ b/PAMI/frequentPattern/basic/Apriori.py @@ -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 From 2b8de6a3ac69a41c0f21fea69a77d37b700e13b8 Mon Sep 17 00:00:00 2001 From: Ojash Date: Wed, 17 Jun 2026 23:20:58 +0900 Subject: [PATCH 3/4] Remove duplicate ECLAT CLI mining call and Update copyright header --- PAMI/frequentPattern/basic/ECLAT.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PAMI/frequentPattern/basic/ECLAT.py b/PAMI/frequentPattern/basic/ECLAT.py index 0513ac96..c549b93d 100644 --- a/PAMI/frequentPattern/basic/ECLAT.py +++ b/PAMI/frequentPattern/basic/ECLAT.py @@ -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 @@ -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]) From d33f9e2846234b525e6c776cbdfce7fe738eadcf Mon Sep 17 00:00:00 2001 From: Ojash Date: Wed, 17 Jun 2026 23:22:53 +0900 Subject: [PATCH 4/4] Remove duplicate FPGrowth CLI mining call and Update copyright header --- PAMI/frequentPattern/basic/FPGrowth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PAMI/frequentPattern/basic/FPGrowth.py b/PAMI/frequentPattern/basic/FPGrowth.py index 48db2f1a..77e8a9f6 100644 --- a/PAMI/frequentPattern/basic/FPGrowth.py +++ b/PAMI/frequentPattern/basic/FPGrowth.py @@ -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 @@ -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])