diff --git a/PAMI/AssociationRules/basic/_ARWithLeverage.py b/PAMI/AssociationRules/basic/_ARWithLeverage.py
index d2d5d7b0..22599952 100644
--- a/PAMI/AssociationRules/basic/_ARWithLeverage.py
+++ b/PAMI/AssociationRules/basic/_ARWithLeverage.py
@@ -288,7 +288,7 @@ def _readPatterns(self) -> list:
quit()
return k
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Association rule mining process will start from here
@@ -404,7 +404,7 @@ def printResults(self) -> None:
_ap = ARWithLeverage(_ab._sys.argv[1], float(_ab._sys.argv[3]), _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = ARWithLeverage(_ab._sys.argv[1], float(_ab._sys.argv[3]),sep='\t')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Association Rules:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/AssociationRules/basic/_ARWithLift.py b/PAMI/AssociationRules/basic/_ARWithLift.py
index d5c0228d..c731b6e3 100644
--- a/PAMI/AssociationRules/basic/_ARWithLift.py
+++ b/PAMI/AssociationRules/basic/_ARWithLift.py
@@ -282,7 +282,7 @@ def _readPatterns(self) -> list:
quit()
return k
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Association rule mining process will start from here
@@ -392,7 +392,7 @@ def printResults(self) -> None:
_ap = ARWithLift(_ab._sys.argv[1], float(_ab._sys.argv[3]), _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = ARWithLift(_ab._sys.argv[1], _ab._sys.argv[3],sep='\t')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Association Rules:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/AssociationRules/basic/_RuleMiner.py b/PAMI/AssociationRules/basic/_RuleMiner.py
index 8c12cb85..bbcfd7fc 100644
--- a/PAMI/AssociationRules/basic/_RuleMiner.py
+++ b/PAMI/AssociationRules/basic/_RuleMiner.py
@@ -424,7 +424,7 @@ def _readPatterns(self):
quit()
return k
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Association rule mining process will start from here
@@ -543,7 +543,7 @@ def printResults(self):
_ap = RuleMiner(_ab._sys.argv[1], _ab._sys.argv[3], float(_ab._sys.argv[4]), _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = RuleMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4],sep='\t')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Association Rules:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
@@ -552,7 +552,7 @@ def printResults(self):
print("Total ExecutionTime in ms:", _ap.getRuntime())
else:
_ap = RuleMiner('sensorOutput.txt', "lift", 0.5, '\t')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
_ap.save('output.txt')
_ap.printResults()
diff --git a/PAMI/AssociationRules/basic/abstract.py b/PAMI/AssociationRules/basic/abstract.py
index 62e4495c..faf7155c 100644
--- a/PAMI/AssociationRules/basic/abstract.py
+++ b/PAMI/AssociationRules/basic/abstract.py
@@ -77,7 +77,7 @@ class _AssociationRules(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/AssociationRules/basic/confidence.py b/PAMI/AssociationRules/basic/confidence.py
index d50c09e1..80cd6fdc 100644
--- a/PAMI/AssociationRules/basic/confidence.py
+++ b/PAMI/AssociationRules/basic/confidence.py
@@ -221,7 +221,7 @@ def _readPatterns(self):
# sorted(k, key=lambda x: self._frequentPatterns[x], reverse=True)
# return k
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Association rule mining process will start from here
@@ -348,7 +348,7 @@ def printResults(self):
_ap = confidence(_ab._sys.argv[1], float(_ab._sys.argv[3]), _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = confidence(_ab._sys.argv[1], float(_ab._sys.argv[3]))
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Association Rules:", len(_ap.getAssociationRules()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/AssociationRules/basic/leverage.py b/PAMI/AssociationRules/basic/leverage.py
index 23c4a2ed..c393c464 100644
--- a/PAMI/AssociationRules/basic/leverage.py
+++ b/PAMI/AssociationRules/basic/leverage.py
@@ -216,7 +216,7 @@ def _readPatterns(self):
# sorted(k, key=lambda x: self._frequentPatterns[x], reverse=True)
# return k
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Association rule mining process will start from here
@@ -344,7 +344,7 @@ def printResults(self):
_ap = leverage(_ab._sys.argv[1], float(_ab._sys.argv[3]), _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = leverage(_ab._sys.argv[1], _ab._sys.argv[3],sep='\t')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Association Rules:", len(_ap.getAssociationRules()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/AssociationRules/basic/lift.py b/PAMI/AssociationRules/basic/lift.py
index 424ebda4..75ff7ee4 100644
--- a/PAMI/AssociationRules/basic/lift.py
+++ b/PAMI/AssociationRules/basic/lift.py
@@ -214,7 +214,7 @@ def _readPatterns(self):
# sorted(k, key=lambda x: self._frequentPatterns[x], reverse=True)
# return k
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Association rule mining process will start from here
@@ -341,7 +341,7 @@ def printResults(self):
_ap = lift(_ab._sys.argv[1], float(_ab._sys.argv[3]), _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = lift(_ab._sys.argv[1], float(_ab._sys.argv[3]),sep='\t')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Association Rules:", len(_ap.getAssociationRules()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/contiguousFrequentPattern/basic/PositionMining.py b/PAMI/contiguousFrequentPattern/basic/PositionMining.py
index 35bceddb..65407efc 100644
--- a/PAMI/contiguousFrequentPattern/basic/PositionMining.py
+++ b/PAMI/contiguousFrequentPattern/basic/PositionMining.py
@@ -262,7 +262,7 @@ def mineNext_candidates(self):
self.join(curr,self.current_candidate)
self.current_candidate+=1
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Pattern mining process will start from here
diff --git a/PAMI/contiguousFrequentPattern/basic/abstract.py b/PAMI/contiguousFrequentPattern/basic/abstract.py
index 99fcfe35..9d29a831 100644
--- a/PAMI/contiguousFrequentPattern/basic/abstract.py
+++ b/PAMI/contiguousFrequentPattern/basic/abstract.py
@@ -58,7 +58,7 @@ class _contigousPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/correlatedPattern/basic/CoMine.py b/PAMI/correlatedPattern/basic/CoMine.py
index b49784bb..5a851106 100644
--- a/PAMI/correlatedPattern/basic/CoMine.py
+++ b/PAMI/correlatedPattern/basic/CoMine.py
@@ -288,7 +288,7 @@ def _convert(self, value: Union[int, float, str]) -> None:
value = int(value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
main method to start
@@ -511,7 +511,7 @@ def printResults(self) -> None:
_ap = CoMine(_ab._sys.argv[1], _ab._sys.argv[3], float(_ab._sys.argv[4]), _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = CoMine(_ab._sys.argv[1], _ab._sys.argv[3], float(_ab._sys.argv[4]))
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Correlated-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/correlatedPattern/basic/CoMinePlus.py b/PAMI/correlatedPattern/basic/CoMinePlus.py
index c29dfea6..82935f30 100644
--- a/PAMI/correlatedPattern/basic/CoMinePlus.py
+++ b/PAMI/correlatedPattern/basic/CoMinePlus.py
@@ -288,7 +288,7 @@ def _convert(self, value: Union[int, float, str]) -> None:
value = int(value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
self.mine()
@@ -543,7 +543,7 @@ def printResults(self) -> None:
_ap = CoMinePlus(_ab._sys.argv[1], _ab._sys.argv[3], float(_ab._sys.argv[4]), _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = CoMinePlus(_ab._sys.argv[1], _ab._sys.argv[3], float(_ab._sys.argv[4]))
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Correlated-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/correlatedPattern/basic/_CoMine.py b/PAMI/correlatedPattern/basic/_CoMine.py
index e26877bb..368ae9cf 100644
--- a/PAMI/correlatedPattern/basic/_CoMine.py
+++ b/PAMI/correlatedPattern/basic/_CoMine.py
@@ -550,7 +550,7 @@ def _correlatedPatternGrowthGenerate(self, correlatedPatternTree, prefix, prefix
treeBeta.createHeaderList(mapSupportBeta, self._minSup)
self._correlatedPatternGrowthGenerate(treeBeta, prefix, prefixLength + 1, mapSupportBeta)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
main method to start
@@ -682,7 +682,7 @@ def printResults(self) -> None:
_ap = CoMine(_ab._sys.argv[1], _ab._sys.argv[3], float(_ab._sys.argv[4]), _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = CoMine(_ab._sys.argv[1], _ab._sys.argv[3], float(_ab._sys.argv[4]))
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Correlated-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/correlatedPattern/basic/abstract.py b/PAMI/correlatedPattern/basic/abstract.py
index 9f3b2257..8286d77f 100644
--- a/PAMI/correlatedPattern/basic/abstract.py
+++ b/PAMI/correlatedPattern/basic/abstract.py
@@ -62,7 +62,7 @@ class _correlatedPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/coveragePattern/basic/CMine.py b/PAMI/coveragePattern/basic/CMine.py
index c880515d..4fae6cf9 100644
--- a/PAMI/coveragePattern/basic/CMine.py
+++ b/PAMI/coveragePattern/basic/CMine.py
@@ -305,7 +305,7 @@ def generateAllPatterns(self,coverageItems: Dict[str, int]) -> None:
#print(i,tidData[i][0])
self.genPatterns(tidData[i],tidData[i+1:length])
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
""" Main method to start """
@@ -419,7 +419,7 @@ def printResults(self) -> None:
_ap = CMine(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5], _ab._sys.argv[6])
if len(_ab._sys.argv) == 6:
_ap = CMine(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of coverage Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/coveragePattern/basic/CPPG.py b/PAMI/coveragePattern/basic/CPPG.py
index 2dece48f..2d34c582 100644
--- a/PAMI/coveragePattern/basic/CPPG.py
+++ b/PAMI/coveragePattern/basic/CPPG.py
@@ -352,7 +352,7 @@ def _convert(self, value: Union[int, float, str]) -> Union[int, float]:
value = int(value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
""" Mining process will start from this function
"""
@@ -475,7 +475,7 @@ def printResults(self) -> None:
_ap = CPPG(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5], _ab._sys.argv[6])
if len(_ab._sys.argv) == 6:
_ap = CPPG(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Coverage Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/coveragePattern/basic/abstract.py b/PAMI/coveragePattern/basic/abstract.py
index 6d68eca4..1446ef64 100644
--- a/PAMI/coveragePattern/basic/abstract.py
+++ b/PAMI/coveragePattern/basic/abstract.py
@@ -70,7 +70,7 @@ class _coveragePatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/extras/convertMultiTSIntoFuzzy.py b/PAMI/extras/convertMultiTSIntoFuzzy.py
index af148be7..40ce2353 100644
--- a/PAMI/extras/convertMultiTSIntoFuzzy.py
+++ b/PAMI/extras/convertMultiTSIntoFuzzy.py
@@ -169,7 +169,7 @@ def save(self, outputFile: str) -> None:
# break
writer.write("%s\n" %s2)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Frequent pattern mining process will start from here
diff --git a/PAMI/extras/fuzzyTransformation/abstract.py b/PAMI/extras/fuzzyTransformation/abstract.py
index 86ad8a65..b7736624 100644
--- a/PAMI/extras/fuzzyTransformation/abstract.py
+++ b/PAMI/extras/fuzzyTransformation/abstract.py
@@ -74,7 +74,7 @@ class _convert(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/faultTolerantFrequentPattern/basic/FTApriori.py b/PAMI/faultTolerantFrequentPattern/basic/FTApriori.py
index 742e5d49..dd6338b9 100644
--- a/PAMI/faultTolerantFrequentPattern/basic/FTApriori.py
+++ b/PAMI/faultTolerantFrequentPattern/basic/FTApriori.py
@@ -296,7 +296,7 @@ def _getFaultPatterns(self) -> None:
if len(j) >= self._minLength and res >= self._minSup:
self._finalPatterns[tuple(j)] = res
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Fault-tolerant frequent pattern mining process will start from here
@@ -437,7 +437,7 @@ def printResults(self) -> None:
_ab._sys.argv[5], _ab._sys.argv[6], _ab._sys.argv[7], )
if len(_ab._sys.argv) == 7:
_ap = FTApriori(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5], _ab._sys.argv[6])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/faultTolerantFrequentPattern/basic/FTFPGrowth.py b/PAMI/faultTolerantFrequentPattern/basic/FTFPGrowth.py
index 7a0a817c..2f4f1c6f 100644
--- a/PAMI/faultTolerantFrequentPattern/basic/FTFPGrowth.py
+++ b/PAMI/faultTolerantFrequentPattern/basic/FTFPGrowth.py
@@ -550,7 +550,7 @@ def __savePeriodic(self, itemSet: List[int]) -> str:
temp = temp + self.__rankDup[i] + "\t"
return temp
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Main program to start the operation
@@ -688,7 +688,7 @@ def printResults(self) -> None:
_fp._sys.argv[5], _fp._sys.argv[6], _fp._sys.argv[7])
if len(_fp._sys.argv) == 7:
_ap = FTFPGrowth(_fp._sys.argv[1], _fp._sys.argv[3], _fp._sys.argv[4], _fp._sys.argv[5], _fp._sys.argv[6])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_fp._sys.argv[2])
diff --git a/PAMI/faultTolerantFrequentPattern/basic/abstract.py b/PAMI/faultTolerantFrequentPattern/basic/abstract.py
index 978736ac..f35e17e4 100644
--- a/PAMI/faultTolerantFrequentPattern/basic/abstract.py
+++ b/PAMI/faultTolerantFrequentPattern/basic/abstract.py
@@ -76,7 +76,7 @@ class _faultTolerantFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/frequentPattern/basic/Apriori.py b/PAMI/frequentPattern/basic/Apriori.py
index 6225e2f2..c53a0169 100644
--- a/PAMI/frequentPattern/basic/Apriori.py
+++ b/PAMI/frequentPattern/basic/Apriori.py
@@ -204,7 +204,7 @@ def _convert(self, value: Union[int, float, str]) -> Union[int, float]:
value = int(value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Frequent pattern mining process will start from here
@@ -402,7 +402,7 @@ 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.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ap._sys.argv[2])
diff --git a/PAMI/frequentPattern/basic/Aprioribitset.py b/PAMI/frequentPattern/basic/Aprioribitset.py
index 3786af23..3bfe8665 100644
--- a/PAMI/frequentPattern/basic/Aprioribitset.py
+++ b/PAMI/frequentPattern/basic/Aprioribitset.py
@@ -208,7 +208,7 @@ def _creatingItemSets(self):
print("File Not Found")
self._minSup = self._convert(self._minSup)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
self.mine()
@@ -407,7 +407,7 @@ def printResults(self):
_ap = Aprioribitset(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = Aprioribitset(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/frequentPattern/basic/ECLAT.py b/PAMI/frequentPattern/basic/ECLAT.py
index 87ac9f1c..6483265c 100644
--- a/PAMI/frequentPattern/basic/ECLAT.py
+++ b/PAMI/frequentPattern/basic/ECLAT.py
@@ -204,7 +204,7 @@ def _convert(self, value) -> float:
value = int(value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Frequent pattern mining process will start from here
@@ -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.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/frequentPattern/basic/ECLATDiffset.py b/PAMI/frequentPattern/basic/ECLATDiffset.py
index f3dac436..dd879c57 100644
--- a/PAMI/frequentPattern/basic/ECLATDiffset.py
+++ b/PAMI/frequentPattern/basic/ECLATDiffset.py
@@ -204,7 +204,7 @@ def _convert(self, value):
value = int(value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -389,7 +389,7 @@ def printResults(self):
_ap = ECLATDiffset(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = ECLATDiffset(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/frequentPattern/basic/ECLATbitset.py b/PAMI/frequentPattern/basic/ECLATbitset.py
index 08531eb0..295d5eb6 100644
--- a/PAMI/frequentPattern/basic/ECLATbitset.py
+++ b/PAMI/frequentPattern/basic/ECLATbitset.py
@@ -205,7 +205,7 @@ def _creatingItemSets(self):
print("File Not Found")
self._minSup = self._convert(self._minSup)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -415,7 +415,7 @@ def printResults(self):
_ap = ECLATbitset(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = ECLATbitset(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/frequentPattern/basic/FPGrowth.py b/PAMI/frequentPattern/basic/FPGrowth.py
index ee489484..68a71f35 100644
--- a/PAMI/frequentPattern/basic/FPGrowth.py
+++ b/PAMI/frequentPattern/basic/FPGrowth.py
@@ -429,7 +429,7 @@ def mine(self) -> None:
self.__memoryUSS = process.memory_full_info().uss
self.__memoryRSS = process.memory_info().rss
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Starting the mining process
@@ -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.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len( _ap.getPatterns()))
_ap.save(_fp._sys.argv[2])
diff --git a/PAMI/frequentPattern/basic/_Apriori.py b/PAMI/frequentPattern/basic/_Apriori.py
index a9ecd96b..87ca719b 100644
--- a/PAMI/frequentPattern/basic/_Apriori.py
+++ b/PAMI/frequentPattern/basic/_Apriori.py
@@ -272,7 +272,7 @@ def _frequentToCandidate(frequentList: Dict[frozenset, int], length: int) -> Lis
frequentToCandidateList.extend(nextList)
return sorted(frequentToCandidateList)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Frequent pattern mining process will start from here
@@ -438,7 +438,7 @@ 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.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ap._sys.argv[2])
diff --git a/PAMI/frequentPattern/basic/_ECLATDiffset.py b/PAMI/frequentPattern/basic/_ECLATDiffset.py
index b9970a1a..718049b7 100644
--- a/PAMI/frequentPattern/basic/_ECLATDiffset.py
+++ b/PAMI/frequentPattern/basic/_ECLATDiffset.py
@@ -262,7 +262,7 @@ def _runDeclat(self, candidateList):
if len(newList) > 0:
self._runDeclat(newList)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -389,7 +389,7 @@ def printResults(self):
_ap = ECLATDiffset(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = ECLATDiffset(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/frequentPattern/basic/_FPGrowth.py b/PAMI/frequentPattern/basic/_FPGrowth.py
index 2f54ba27..b890d3b3 100644
--- a/PAMI/frequentPattern/basic/_FPGrowth.py
+++ b/PAMI/frequentPattern/basic/_FPGrowth.py
@@ -529,7 +529,7 @@ def __savePeriodic(self, itemSet) -> str:
temp = temp + self.__rankDup[i] + "\t"
return temp
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Main program to start the operation
@@ -682,7 +682,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.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len( _ap.getPatterns()))
_ap.save(_fp._sys.argv[2])
diff --git a/PAMI/frequentPattern/basic/abstract.py b/PAMI/frequentPattern/basic/abstract.py
index 814f25b2..7366f704 100644
--- a/PAMI/frequentPattern/basic/abstract.py
+++ b/PAMI/frequentPattern/basic/abstract.py
@@ -74,7 +74,7 @@ class _frequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/frequentPattern/closed/CHARM.py b/PAMI/frequentPattern/closed/CHARM.py
index dbd75973..9b8de190 100644
--- a/PAMI/frequentPattern/closed/CHARM.py
+++ b/PAMI/frequentPattern/closed/CHARM.py
@@ -374,7 +374,7 @@ def _processEquivalenceClass(self, prefix, itemSets, tidSets):
self._processEquivalenceClass(newPrefix, classItemSets, classTidSets)
self._save(prefix, list(set(itemSetx)), tidSetX)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Mining process will start from here by extracting the frequent patterns from the database. It performs prefix
@@ -524,7 +524,7 @@ def printResults(self):
_ap = CHARM(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = CHARM(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Closed Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/frequentPattern/closed/abstract.py b/PAMI/frequentPattern/closed/abstract.py
index a26c96bc..0171dd7a 100644
--- a/PAMI/frequentPattern/closed/abstract.py
+++ b/PAMI/frequentPattern/closed/abstract.py
@@ -72,7 +72,7 @@ class _frequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/frequentPattern/cuda/abstract.py b/PAMI/frequentPattern/cuda/abstract.py
index 1ea140ee..750c15f3 100644
--- a/PAMI/frequentPattern/cuda/abstract.py
+++ b/PAMI/frequentPattern/cuda/abstract.py
@@ -66,7 +66,7 @@ class _frequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/frequentPattern/cuda/cuApriori.py b/PAMI/frequentPattern/cuda/cuApriori.py
index 77bb9e53..b5e177ed 100644
--- a/PAMI/frequentPattern/cuda/cuApriori.py
+++ b/PAMI/frequentPattern/cuda/cuApriori.py
@@ -260,7 +260,7 @@ def arraysAndItems(self):
return newArraysAndItems
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -382,7 +382,7 @@ def printResults(self):
_ap = cuApriori(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = cuApriori(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/frequentPattern/cuda/cuAprioriBit.py b/PAMI/frequentPattern/cuda/cuAprioriBit.py
index 19005437..9d6a696e 100644
--- a/PAMI/frequentPattern/cuda/cuAprioriBit.py
+++ b/PAMI/frequentPattern/cuda/cuAprioriBit.py
@@ -272,7 +272,7 @@ def createBitRepresentation(self, ArraysAndItems):
return bitRep
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -401,7 +401,7 @@ def printResults(self):
_ap = cuAprioriBit(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = cuAprioriBit(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/frequentPattern/cuda/cuEclat.py b/PAMI/frequentPattern/cuda/cuEclat.py
index 87943a23..4caf618f 100644
--- a/PAMI/frequentPattern/cuda/cuEclat.py
+++ b/PAMI/frequentPattern/cuda/cuEclat.py
@@ -252,7 +252,7 @@ def _arraysAndItems(self):
return newArraysAndItems
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -380,7 +380,7 @@ def printResults(self):
_ap = cuEclat(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = cuEclat(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/frequentPattern/cuda/cuEclatBit.py b/PAMI/frequentPattern/cuda/cuEclatBit.py
index efecac79..ad510183 100644
--- a/PAMI/frequentPattern/cuda/cuEclatBit.py
+++ b/PAMI/frequentPattern/cuda/cuEclatBit.py
@@ -275,7 +275,7 @@ def createBitRepresentation(self, ArraysAndItems):
return bitRep
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -408,7 +408,7 @@ def printResults(self):
_ap = cuEclatBit(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = cuEclatBit(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
@@ -420,7 +420,7 @@ def printResults(self):
"""_ap = cuEclat("/home/tarun/PAMI/PAMI/frequentPattern/cuda/test.txt", 2, " ")
_ap = cuEclat("/home/tarun/Transactional_T10I4D100K.csv", 450, "\t")
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/frequentPattern/cuda/cudaAprioriGCT.py b/PAMI/frequentPattern/cuda/cudaAprioriGCT.py
index 7a04d132..4be76227 100644
--- a/PAMI/frequentPattern/cuda/cudaAprioriGCT.py
+++ b/PAMI/frequentPattern/cuda/cudaAprioriGCT.py
@@ -326,7 +326,7 @@ def save(self, outFile):
s1 = str(x) + ":" + str(y)
writer.write("%s \n" % s1)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -401,7 +401,7 @@ def printResults(self):
_ap = cudaAprioriGCT(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = cudaAprioriGCT(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/frequentPattern/cuda/cudaAprioriTID.py b/PAMI/frequentPattern/cuda/cudaAprioriTID.py
index ee59e7c1..9c79e675 100644
--- a/PAMI/frequentPattern/cuda/cudaAprioriTID.py
+++ b/PAMI/frequentPattern/cuda/cudaAprioriTID.py
@@ -346,7 +346,7 @@ def getPatterns(self):
def get_numberOfPatterns(self):
return len(self.Patterns)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -477,7 +477,7 @@ def mine(self):
_ap = cudaAprioriTID(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = cudaAprioriTID(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/frequentPattern/cuda/cudaEclatGCT.py b/PAMI/frequentPattern/cuda/cudaEclatGCT.py
index d557108f..313c4d20 100644
--- a/PAMI/frequentPattern/cuda/cudaEclatGCT.py
+++ b/PAMI/frequentPattern/cuda/cudaEclatGCT.py
@@ -346,7 +346,7 @@ def eclat(self, basePattern, final, vb_data, idx2item, item2idx):
if len(newBasePattern) > 0:
self.eclat(newBasePattern, final, vb_data, idx2item, item2idx)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -388,7 +388,7 @@ def mine(self):
_ap = cudaEclatGCT(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = cudaEclatGCT(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ap._sys.argv[2])
diff --git a/PAMI/frequentPattern/maximal/MaxFPGrowth.py b/PAMI/frequentPattern/maximal/MaxFPGrowth.py
index 07599c7c..71629be3 100644
--- a/PAMI/frequentPattern/maximal/MaxFPGrowth.py
+++ b/PAMI/frequentPattern/maximal/MaxFPGrowth.py
@@ -649,7 +649,7 @@ def _convertItems(self, itemSet):
t1.append(self._rankdup[i])
return t1
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Mining process will start from this function
@@ -780,7 +780,7 @@ def printResults(self):
_ap = MaxFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = MaxFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
_ap.save(_ab._sys.argv[2])
print("Total number of Maximal Frequent Patterns:", len(_ap.getPatterns()))
diff --git a/PAMI/frequentPattern/maximal/abstract.py b/PAMI/frequentPattern/maximal/abstract.py
index a5a22443..7df2fb5a 100644
--- a/PAMI/frequentPattern/maximal/abstract.py
+++ b/PAMI/frequentPattern/maximal/abstract.py
@@ -72,7 +72,7 @@ class _frequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/frequentPattern/pyspark/abstract.py b/PAMI/frequentPattern/pyspark/abstract.py
index b871854c..4a1a2b07 100644
--- a/PAMI/frequentPattern/pyspark/abstract.py
+++ b/PAMI/frequentPattern/pyspark/abstract.py
@@ -47,7 +47,7 @@ class _frequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/frequentPattern/pyspark/parallelApriori.py b/PAMI/frequentPattern/pyspark/parallelApriori.py
index 18d15a9f..1063594d 100644
--- a/PAMI/frequentPattern/pyspark/parallelApriori.py
+++ b/PAMI/frequentPattern/pyspark/parallelApriori.py
@@ -360,7 +360,7 @@ def _convert(self, value):
value = int(value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -404,7 +404,7 @@ def mine(self):
_ap = parallelApriori(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = parallelApriori(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
_finalPatterns = _ap.getPatterns()
print("Total number of Frequent Patterns:", len(_finalPatterns))
diff --git a/PAMI/frequentPattern/pyspark/parallelECLAT.py b/PAMI/frequentPattern/pyspark/parallelECLAT.py
index 3fd0a90b..eee63156 100644
--- a/PAMI/frequentPattern/pyspark/parallelECLAT.py
+++ b/PAMI/frequentPattern/pyspark/parallelECLAT.py
@@ -295,7 +295,7 @@ def _convert(self, value):
print(type(value), value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -360,7 +360,7 @@ def mine(self):
_ap = parallelECLAT(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = parallelECLAT(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
_finalPatterns = _ap.getPatterns()
print("Total number of Frequent Patterns:", len(_finalPatterns))
diff --git a/PAMI/frequentPattern/pyspark/parallelFPGrowth.py b/PAMI/frequentPattern/pyspark/parallelFPGrowth.py
index b29a0c4d..5b6de346 100644
--- a/PAMI/frequentPattern/pyspark/parallelFPGrowth.py
+++ b/PAMI/frequentPattern/pyspark/parallelFPGrowth.py
@@ -260,7 +260,7 @@ class parallelFPGrowth(_ab._frequentPatterns):
def __init__(self, iFile, minSup, numWorkers, sep='\t'):
super().__init__(iFile, minSup, int(numWorkers), sep)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -499,7 +499,7 @@ def _convert(self, value):
_ap = parallelFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = parallelFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
_finalPatterns = _ap.getPatterns()
print("Total number of Frequent Patterns:", len(_finalPatterns))
diff --git a/PAMI/frequentPattern/topk/FAE.py b/PAMI/frequentPattern/topk/FAE.py
index b3877611..d6bb59f3 100644
--- a/PAMI/frequentPattern/topk/FAE.py
+++ b/PAMI/frequentPattern/topk/FAE.py
@@ -301,7 +301,7 @@ def _convert(self, value):
value = int(value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
TopK Frequent pattern mining process will start from here
@@ -433,7 +433,7 @@ def printResults(self):
_ap = FAE(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = FAE(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Top K Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/frequentPattern/topk/_FAE.py b/PAMI/frequentPattern/topk/_FAE.py
index 88a165ad..389dcb03 100644
--- a/PAMI/frequentPattern/topk/_FAE.py
+++ b/PAMI/frequentPattern/topk/_FAE.py
@@ -316,7 +316,7 @@ def _convert(self, value):
value = int(value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Main function of the program
@@ -447,7 +447,7 @@ def printTOPK(self):
_ap = FAE(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = FAE(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Top K Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/frequentPattern/topk/abstract.py b/PAMI/frequentPattern/topk/abstract.py
index c4e45cb3..5f6a5375 100644
--- a/PAMI/frequentPattern/topk/abstract.py
+++ b/PAMI/frequentPattern/topk/abstract.py
@@ -55,7 +55,7 @@ class _frequentPatterns(_ABC):
To store the total amount of RSS memory consumed by the program
Methods:
-------
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/fuzzyCorrelatedPattern/basic/FCPGrowth.py b/PAMI/fuzzyCorrelatedPattern/basic/FCPGrowth.py
index ae0c6258..0a9f5c67 100644
--- a/PAMI/fuzzyCorrelatedPattern/basic/FCPGrowth.py
+++ b/PAMI/fuzzyCorrelatedPattern/basic/FCPGrowth.py
@@ -471,7 +471,7 @@ def _creatingItemSets(self) -> None:
print("File Not Found")
quit()
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Frequent pattern mining process will startTime from here
@@ -767,7 +767,7 @@ def main():
_ap = FCPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], float(_ab._sys.argv[4]), _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = FCPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], float(_ab._sys.argv[4]))
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Fuzzy Correlated Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/fuzzyCorrelatedPattern/basic/abstract.py b/PAMI/fuzzyCorrelatedPattern/basic/abstract.py
index 9a071dc3..efabf1fc 100644
--- a/PAMI/fuzzyCorrelatedPattern/basic/abstract.py
+++ b/PAMI/fuzzyCorrelatedPattern/basic/abstract.py
@@ -75,7 +75,7 @@ class _corelatedFuzzyFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/fuzzyFrequentPattern/basic/FFIMiner.py b/PAMI/fuzzyFrequentPattern/basic/FFIMiner.py
index f8961b22..80b6c6a3 100644
--- a/PAMI/fuzzyFrequentPattern/basic/FFIMiner.py
+++ b/PAMI/fuzzyFrequentPattern/basic/FFIMiner.py
@@ -404,7 +404,7 @@ def printResults(self) -> None:
_ap = FFIMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = FFIMiner(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Fuzzy-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
@@ -413,7 +413,7 @@ def printResults(self) -> None:
print("Total ExecutionTime in seconds:", _ap.getRuntime())
else:
_ap = FFIMiner('/Users/tarunsreepada/Downloads/Fuzzy_T10I4D100K.csv', 400, '\t')
- # _ap.startMine()
+ # _ap.mine()
_ap.mine()
print("Total number of Fuzzy-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save('output.txt')
diff --git a/PAMI/fuzzyFrequentPattern/basic/FFIMiner_old.py b/PAMI/fuzzyFrequentPattern/basic/FFIMiner_old.py
index 1fe1b42d..afc6c2df 100644
--- a/PAMI/fuzzyFrequentPattern/basic/FFIMiner_old.py
+++ b/PAMI/fuzzyFrequentPattern/basic/FFIMiner_old.py
@@ -488,7 +488,7 @@ def _Regions(self, quantity: float) -> None:
(quantity - self._RegionsCal[i][0]) / base)
return
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
fuzzy-Frequent pattern mining process will start from here
@@ -765,7 +765,7 @@ def printResults(self) -> None:
_ap = FFIMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = FFIMiner(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Fuzzy-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/fuzzyFrequentPattern/basic/_FFIMiner.py b/PAMI/fuzzyFrequentPattern/basic/_FFIMiner.py
index 982e99cb..98dbd6e4 100644
--- a/PAMI/fuzzyFrequentPattern/basic/_FFIMiner.py
+++ b/PAMI/fuzzyFrequentPattern/basic/_FFIMiner.py
@@ -397,7 +397,7 @@ def _creatingItemsets(self) -> None:
print("File Not Found")
quit()
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
fuzzy-Frequent pattern mining process will start from here
@@ -640,7 +640,7 @@ def printResults(self) -> None:
_ap = FFIMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = FFIMiner(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Fuzzy-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
@@ -649,7 +649,7 @@ def printResults(self) -> None:
print("Total ExecutionTime in seconds:", _ap.getRuntime())
else:
_ap = FFIMiner('/Users/tarunsreepada/Downloads/Fuzzy_T10I4D100K.csv', 400, '\t')
- # _ap.startMine()
+ # _ap.mine()
_ap.mine()
print("Total number of Fuzzy-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save('output.txt')
diff --git a/PAMI/fuzzyFrequentPattern/basic/abstract.py b/PAMI/fuzzyFrequentPattern/basic/abstract.py
index 3686b47a..a0ce01a2 100644
--- a/PAMI/fuzzyFrequentPattern/basic/abstract.py
+++ b/PAMI/fuzzyFrequentPattern/basic/abstract.py
@@ -81,7 +81,7 @@ class _fuzzyFrequentPattenrs(_ABC):
:Method:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
diff --git a/PAMI/fuzzyGeoreferencedFrequentPattern/basic/FFSPMiner.py b/PAMI/fuzzyGeoreferencedFrequentPattern/basic/FFSPMiner.py
index 8bcc9697..23705a24 100644
--- a/PAMI/fuzzyGeoreferencedFrequentPattern/basic/FFSPMiner.py
+++ b/PAMI/fuzzyGeoreferencedFrequentPattern/basic/FFSPMiner.py
@@ -416,7 +416,7 @@ def _mapNeighbours(self) -> None:
print("File Not Found")
quit()
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Frequent pattern mining process will start from here
@@ -690,7 +690,7 @@ def printResults(self) -> None:
_ap = FFSPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = FFSPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Spatial Fuzzy Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
@@ -699,7 +699,7 @@ def printResults(self) -> None:
print("Total ExecutionTime in seconds:", _ap.getRuntime())
else:
_ap = FFSPMiner('sample.txt', 'nei.txt', 1, ' ')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Fuzzy-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save('output.txt')
diff --git a/PAMI/fuzzyGeoreferencedFrequentPattern/basic/FFSPMiner_old.py b/PAMI/fuzzyGeoreferencedFrequentPattern/basic/FFSPMiner_old.py
index 3206eb8a..6f031038 100644
--- a/PAMI/fuzzyGeoreferencedFrequentPattern/basic/FFSPMiner_old.py
+++ b/PAMI/fuzzyGeoreferencedFrequentPattern/basic/FFSPMiner_old.py
@@ -456,7 +456,7 @@ def _mapNeighbours(self):
print("File Not Found")
quit()
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -757,7 +757,7 @@ def printResults(self):
_ap = FFSPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = FFSPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Spatial Fuzzy Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/fuzzyGeoreferencedFrequentPattern/basic/abstract.py b/PAMI/fuzzyGeoreferencedFrequentPattern/basic/abstract.py
index 54ae03e3..4c141668 100644
--- a/PAMI/fuzzyGeoreferencedFrequentPattern/basic/abstract.py
+++ b/PAMI/fuzzyGeoreferencedFrequentPattern/basic/abstract.py
@@ -73,7 +73,7 @@ class _fuzzySpatialFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/fuzzyGeoreferencedPeriodicFrequentPattern/basic/FGPFPMiner.py b/PAMI/fuzzyGeoreferencedPeriodicFrequentPattern/basic/FGPFPMiner.py
index f667382a..03673768 100644
--- a/PAMI/fuzzyGeoreferencedPeriodicFrequentPattern/basic/FGPFPMiner.py
+++ b/PAMI/fuzzyGeoreferencedPeriodicFrequentPattern/basic/FGPFPMiner.py
@@ -411,7 +411,7 @@ def _mapNeighbours(self):
print("File Not Found")
quit()
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -732,7 +732,7 @@ def printResults(self):
_ab._sys.argv[6])
if len(_ab._sys.argv) == 5:
_ap = FGPFPMiner(_ab._sys.argv[1], _ab._sys.argv[2], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Spatial Fuzzy Periodic Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
@@ -742,7 +742,7 @@ def printResults(self):
_ap.save("outputfile.txt")
else:
_ap = FGPFPMiner('sample.txt','nei.txt', 1, 10, ' ')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Fuzzy Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save('output.txt')
diff --git a/PAMI/fuzzyGeoreferencedPeriodicFrequentPattern/basic/FGPFPMiner_old.py b/PAMI/fuzzyGeoreferencedPeriodicFrequentPattern/basic/FGPFPMiner_old.py
index e48fa2f8..71e0829a 100644
--- a/PAMI/fuzzyGeoreferencedPeriodicFrequentPattern/basic/FGPFPMiner_old.py
+++ b/PAMI/fuzzyGeoreferencedPeriodicFrequentPattern/basic/FGPFPMiner_old.py
@@ -460,7 +460,7 @@ def _Regions(self, quantity):
(quantity - self._RegionsCal[i][0]) / base)
return
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -846,7 +846,7 @@ def generateGraphs(result):
_ab._sys.argv[6])
if len(_ab._sys.argv) == 5:
_ap = FGPFPMiner(_ab._sys.argv[1], _ab._sys.argv[2], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Spatial Fuzzy Periodic Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/fuzzyGeoreferencedPeriodicFrequentPattern/basic/abstract.py b/PAMI/fuzzyGeoreferencedPeriodicFrequentPattern/basic/abstract.py
index c1c0d9b5..b35253a4 100644
--- a/PAMI/fuzzyGeoreferencedPeriodicFrequentPattern/basic/abstract.py
+++ b/PAMI/fuzzyGeoreferencedPeriodicFrequentPattern/basic/abstract.py
@@ -71,7 +71,7 @@ class _fuzzySpatialFrequentPatterns(_ABC):
Methods :
-------
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/fuzzyPartialPeriodicPatterns/basic/F3PMiner.py b/PAMI/fuzzyPartialPeriodicPatterns/basic/F3PMiner.py
index 91a053e6..a108b5a5 100644
--- a/PAMI/fuzzyPartialPeriodicPatterns/basic/F3PMiner.py
+++ b/PAMI/fuzzyPartialPeriodicPatterns/basic/F3PMiner.py
@@ -397,7 +397,7 @@ def _creatingItemsets(self):
print("File Not Found")
quit()
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
fuzzy-Frequent pattern mining process will start from here
@@ -636,7 +636,7 @@ def printResults(self):
_ap = F3PMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = F3PMiner(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
_ap.save(_ab._sys.argv[2])
_ap.printResults()
diff --git a/PAMI/fuzzyPartialPeriodicPatterns/basic/abstract.py b/PAMI/fuzzyPartialPeriodicPatterns/basic/abstract.py
index 3a136dee..eea345c1 100644
--- a/PAMI/fuzzyPartialPeriodicPatterns/basic/abstract.py
+++ b/PAMI/fuzzyPartialPeriodicPatterns/basic/abstract.py
@@ -73,7 +73,7 @@ class _fuzzyPartialPeriodicPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/fuzzyPeriodicFrequentPattern/basic/FPFPMiner.py b/PAMI/fuzzyPeriodicFrequentPattern/basic/FPFPMiner.py
index cb975488..6674f342 100644
--- a/PAMI/fuzzyPeriodicFrequentPattern/basic/FPFPMiner.py
+++ b/PAMI/fuzzyPeriodicFrequentPattern/basic/FPFPMiner.py
@@ -421,7 +421,7 @@ def _creatingItemSets(self) -> None:
print("File Not Found")
quit()
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Fuzzy periodic Frequent pattern mining process will start from here
@@ -686,7 +686,7 @@ def printResults(self) -> None:
_ap = FPFPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5: # to consider "\t" as a separator
_ap = FPFPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Fuzzy Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
@@ -695,7 +695,7 @@ def printResults(self) -> None:
print("Total ExecutionTime in seconds:", _ap.getRuntime())
else:
_ap = FPFPMiner('sample.txt', 1, 10, ' ')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Fuzzy Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save('output.txt')
diff --git a/PAMI/fuzzyPeriodicFrequentPattern/basic/FPFPMiner_old.py b/PAMI/fuzzyPeriodicFrequentPattern/basic/FPFPMiner_old.py
index 61ed4539..652e1dd3 100644
--- a/PAMI/fuzzyPeriodicFrequentPattern/basic/FPFPMiner_old.py
+++ b/PAMI/fuzzyPeriodicFrequentPattern/basic/FPFPMiner_old.py
@@ -445,7 +445,7 @@ def _creatingItemSets(self):
print("File Not Found")
quit()
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Fuzzy periodic Frequent pattern mining process will start from here
@@ -746,7 +746,7 @@ def printResults(self):
_ap = FPFPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5: # to consider "\t" as a separator
_ap = FPFPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Fuzzy Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/fuzzyPeriodicFrequentPattern/basic/abstract.py b/PAMI/fuzzyPeriodicFrequentPattern/basic/abstract.py
index c425a4da..70d0d7a4 100644
--- a/PAMI/fuzzyPeriodicFrequentPattern/basic/abstract.py
+++ b/PAMI/fuzzyPeriodicFrequentPattern/basic/abstract.py
@@ -75,7 +75,7 @@ class _fuzzyPeriodicFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/geoReferencedPeriodicFrequentPattern/basic/GPFPMiner.py b/PAMI/geoReferencedPeriodicFrequentPattern/basic/GPFPMiner.py
index 01e9d698..75720efd 100644
--- a/PAMI/geoReferencedPeriodicFrequentPattern/basic/GPFPMiner.py
+++ b/PAMI/geoReferencedPeriodicFrequentPattern/basic/GPFPMiner.py
@@ -436,7 +436,7 @@ def mapNeighbours(self):
print("File Not Found")
quit()
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -573,7 +573,7 @@ def printResults(self):
_ap = GPFPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5], _ab._sys.argv[6])
if len(_ab._sys.argv) == 6:
_ap = GPFPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Spatial Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/geoReferencedPeriodicFrequentPattern/basic/abstract.py b/PAMI/geoReferencedPeriodicFrequentPattern/basic/abstract.py
index 14be5004..157c95c6 100644
--- a/PAMI/geoReferencedPeriodicFrequentPattern/basic/abstract.py
+++ b/PAMI/geoReferencedPeriodicFrequentPattern/basic/abstract.py
@@ -65,7 +65,7 @@ class _geoReferencedPeriodicFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/georeferencedFrequentPattern/basic/FSPGrowth.py b/PAMI/georeferencedFrequentPattern/basic/FSPGrowth.py
index 574e13e0..e7814183 100644
--- a/PAMI/georeferencedFrequentPattern/basic/FSPGrowth.py
+++ b/PAMI/georeferencedFrequentPattern/basic/FSPGrowth.py
@@ -507,7 +507,7 @@ def _convert(self, value):
value = int(value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Start pattern mining from here
@@ -620,7 +620,7 @@ def printResults(self):
_ap = FSPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = FSPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Spatial Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/georeferencedFrequentPattern/basic/SpatialECLAT.py b/PAMI/georeferencedFrequentPattern/basic/SpatialECLAT.py
index 0cd80afa..cb53bf93 100644
--- a/PAMI/georeferencedFrequentPattern/basic/SpatialECLAT.py
+++ b/PAMI/georeferencedFrequentPattern/basic/SpatialECLAT.py
@@ -408,7 +408,7 @@ def _mapNeighbours(self):
print("File Not Found")
quit()
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -545,7 +545,7 @@ def printResults(self):
_ap = SpatialECLAT(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = SpatialECLAT(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Spatial Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/georeferencedFrequentPattern/basic/abstract.py b/PAMI/georeferencedFrequentPattern/basic/abstract.py
index eda339bb..918569c4 100644
--- a/PAMI/georeferencedFrequentPattern/basic/abstract.py
+++ b/PAMI/georeferencedFrequentPattern/basic/abstract.py
@@ -75,7 +75,7 @@ class _spatialFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/georeferencedFrequentSequencePattern/abstract.py b/PAMI/georeferencedFrequentSequencePattern/abstract.py
index 35660bf0..baa85324 100644
--- a/PAMI/georeferencedFrequentSequencePattern/abstract.py
+++ b/PAMI/georeferencedFrequentSequencePattern/abstract.py
@@ -75,7 +75,7 @@ class _sequentialSpatialPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/georeferencedFrequentSequencePattern/basic/GFSP_Miner.py b/PAMI/georeferencedFrequentSequencePattern/basic/GFSP_Miner.py
index 023f3953..b8394de0 100644
--- a/PAMI/georeferencedFrequentSequencePattern/basic/GFSP_Miner.py
+++ b/PAMI/georeferencedFrequentSequencePattern/basic/GFSP_Miner.py
@@ -1000,7 +1000,7 @@ def makeNextRowSame3(self, bs, latestWord, latestWord2):
bs2 = bs + (x2, -1)
return bs2, bs, x2
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -1111,7 +1111,7 @@ def printResults(self):
_ap = Spade(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = Spade(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
_Patterns = _ap.getPatterns()
print("Total number of Frequent Patterns:", len(_Patterns))
@@ -1124,7 +1124,7 @@ def printResults(self):
print("Total ExecutionTime in ms:", _run)
else:
_ap = Spade('retail.txt', "file3.txt", 87, ' ')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
_Patterns = _ap.getPatterns()
_memUSS = _ap.getMemoryUSS()
diff --git a/PAMI/georeferencedFrequentSequencePattern/basic/GFSPminer.py b/PAMI/georeferencedFrequentSequencePattern/basic/GFSPminer.py
index 729926b1..95b186d3 100644
--- a/PAMI/georeferencedFrequentSequencePattern/basic/GFSPminer.py
+++ b/PAMI/georeferencedFrequentSequencePattern/basic/GFSPminer.py
@@ -1028,7 +1028,7 @@ def makeNextRowSame3(self, bs, latestWord, latestWord2):
bs2 = bs + (x2, -1)
return bs2, bs, x2
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -1139,7 +1139,7 @@ def printResults(self):
_ap = GFSPminer(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = GFSPminer(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
_Patterns = _ap.getPatterns()
print("Total number of Frequent Patterns:", len(_Patterns))
@@ -1152,7 +1152,7 @@ def printResults(self):
print("Total ExecutionTime in ms:", _run)
else:
_ap = GFSPminer('retail.txt', "file3.txt", 87, ' ')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
_Patterns = _ap.getPatterns()
_memUSS = _ap.getMemoryUSS()
diff --git a/PAMI/georeferencedFrequentSequencePattern/basic/abstract.py b/PAMI/georeferencedFrequentSequencePattern/basic/abstract.py
index 4c3ee709..53de8902 100644
--- a/PAMI/georeferencedFrequentSequencePattern/basic/abstract.py
+++ b/PAMI/georeferencedFrequentSequencePattern/basic/abstract.py
@@ -76,7 +76,7 @@ class _GeorefarencedFequentialPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/georeferencedPartialPeriodicPattern/basic/STEclat.py b/PAMI/georeferencedPartialPeriodicPattern/basic/STEclat.py
index a4504088..23f0bbb5 100644
--- a/PAMI/georeferencedPartialPeriodicPattern/basic/STEclat.py
+++ b/PAMI/georeferencedPartialPeriodicPattern/basic/STEclat.py
@@ -422,7 +422,7 @@ def mapNeighbours(self):
print("File Not Found")
quit()
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -561,7 +561,7 @@ def printResults(self):
_ap = STEclat(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5], _ab._sys.argv[6])
if len(_ab._sys.argv) == 6:
_ap = STEclat(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Spatial Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/georeferencedPartialPeriodicPattern/basic/abstract.py b/PAMI/georeferencedPartialPeriodicPattern/basic/abstract.py
index 8c305d2b..390e84c7 100644
--- a/PAMI/georeferencedPartialPeriodicPattern/basic/abstract.py
+++ b/PAMI/georeferencedPartialPeriodicPattern/basic/abstract.py
@@ -65,7 +65,7 @@ class _partialPeriodicSpatialPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/highUtilityFrequentPattern/basic/HUFIM.py b/PAMI/highUtilityFrequentPattern/basic/HUFIM.py
index 280a7a5a..f58aa86a 100644
--- a/PAMI/highUtilityFrequentPattern/basic/HUFIM.py
+++ b/PAMI/highUtilityFrequentPattern/basic/HUFIM.py
@@ -534,7 +534,7 @@ def _convert(self, value) -> Union[int, float]:
value = int(value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
High Utility Frequent Pattern mining start here
@@ -945,7 +945,7 @@ def printResults(self) -> None:
_ap = HUFIM(_ab._sys.argv[1], int(_ab._sys.argv[3]), float(_ab._sys.argv[4]), _ab._sys.argv[5])
if len(_ab._sys.argv) == 5: #takes "\t" as a separator
_ap = HUFIM(_ab._sys.argv[1], int(_ab._sys.argv[3]), float(_ab._sys.argv[4]))
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of High Utility Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/highUtilityFrequentPattern/basic/abstract.py b/PAMI/highUtilityFrequentPattern/basic/abstract.py
index 77be0108..cb7e9b3b 100644
--- a/PAMI/highUtilityFrequentPattern/basic/abstract.py
+++ b/PAMI/highUtilityFrequentPattern/basic/abstract.py
@@ -72,7 +72,7 @@ class _utilityPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/highUtilityGeoreferencedFrequentPattern/basic/SHUFIM.py b/PAMI/highUtilityGeoreferencedFrequentPattern/basic/SHUFIM.py
index 25a7c9cd..c9e3cc3a 100644
--- a/PAMI/highUtilityGeoreferencedFrequentPattern/basic/SHUFIM.py
+++ b/PAMI/highUtilityGeoreferencedFrequentPattern/basic/SHUFIM.py
@@ -528,7 +528,7 @@ def _convert(self, value):
value = int(value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
High Utility Frequent Pattern mining start here
@@ -1012,7 +1012,7 @@ def main():
# _ap = SHUFIM(_ab._sys.argv[1], _ab._sys.argv[3], int(_ab._sys.argv[4]), _ab._sys.argv[5], _ab._sys.argv[6])
# if len(_ab._sys.argv) == 6:
# _ap = SHUFIM(_ab._sys.argv[1], _ab._sys.argv[3], int(_ab._sys.argv[4]), _ab._sys.argv[5])
- # _ap.startMine()
+ # _ap.mine()
# _ap.mine()
# print("Total number of Spatial High Utility Frequent Patterns:", len(_ap.getPatterns()))
# _ap.save(_ab._sys.argv[2])
diff --git a/PAMI/highUtilityGeoreferencedFrequentPattern/basic/abstract.py b/PAMI/highUtilityGeoreferencedFrequentPattern/basic/abstract.py
index c9dd5786..e4327266 100644
--- a/PAMI/highUtilityGeoreferencedFrequentPattern/basic/abstract.py
+++ b/PAMI/highUtilityGeoreferencedFrequentPattern/basic/abstract.py
@@ -73,7 +73,7 @@ class _utilityPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/highUtilityPattern/basic/EFIM.py b/PAMI/highUtilityPattern/basic/EFIM.py
index 00fef50e..d86d7145 100644
--- a/PAMI/highUtilityPattern/basic/EFIM.py
+++ b/PAMI/highUtilityPattern/basic/EFIM.py
@@ -490,7 +490,7 @@ def __init__(self, iFile, minUtil, sep="\t") -> None:
self._memoryUSS = float()
self._memoryRSS = float()
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Start the EFIM algorithm.
@@ -845,7 +845,7 @@ def printResults(self) -> None:
_ap = EFIM(_ab._sys.argv[1], int(_ab._sys.argv[3]), _ab._sys.argv[4])
if len(_ab._sys.argv) == 4: #takes "\t" as a separator
_ap = EFIM(_ab._sys.argv[1], int(_ab._sys.argv[3]))
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of High Utility Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
@@ -854,7 +854,7 @@ def printResults(self) -> None:
print("Total ExecutionTime in seconds:", _ap.getRuntime())
else:
_ap = EFIM('/Users/likhitha/Downloads/Utility_T10I4D100K.csv', 50000, '\t')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of High Utility Patterns:", len(_ap.getPatterns()))
_ap.save('/Users/likhitha/Downloads/UPGrowth_output.txt')
diff --git a/PAMI/highUtilityPattern/basic/HMiner.py b/PAMI/highUtilityPattern/basic/HMiner.py
index 47a5247d..1ea84c1a 100644
--- a/PAMI/highUtilityPattern/basic/HMiner.py
+++ b/PAMI/highUtilityPattern/basic/HMiner.py
@@ -349,7 +349,7 @@ def _creteItemsets(self):
print("File Not Found")
quit()
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Main program to start the operation
@@ -726,7 +726,7 @@ def printResults(self):
_ap = HMiner(_ab._sys.argv[1], int(_ab._sys.argv[3]), _ab._sys.argv[4])
if len(_ab._sys.argv) == 4: # to consider "\t" as a separator
_ap = HMiner(_ab._sys.argv[1], int(_ab._sys.argv[3]))
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of huis:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/highUtilityPattern/basic/UPGrowth.py b/PAMI/highUtilityPattern/basic/UPGrowth.py
index 4017cd0e..e85c0340 100644
--- a/PAMI/highUtilityPattern/basic/UPGrowth.py
+++ b/PAMI/highUtilityPattern/basic/UPGrowth.py
@@ -510,7 +510,7 @@ def _creatingItemSets(self) -> None:
print("File Not Found")
quit()
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Mining process will start from here
@@ -761,7 +761,7 @@ def printResults(self) -> None:
_ap = UPGrowth(_ab._sys.argv[1], int(_ab._sys.argv[3]), _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = UPGrowth(_ab._sys.argv[1], int(_ab._sys.argv[3]))
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of High Utility Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
@@ -770,7 +770,7 @@ def printResults(self) -> None:
print("Total ExecutionTime in ms:", _ap.getRuntime())
else:
_ap = UPGrowth('/Users/likhitha/Downloads/Utility_T10I4D100K.csv', 50000, '\t')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of High Utility Patterns:", len(_ap.getPatterns()))
_ap.save('/Users/likhitha/Downloads/UPGrowth_output.txt')
diff --git a/PAMI/highUtilityPattern/basic/abstract.py b/PAMI/highUtilityPattern/basic/abstract.py
index c147e2da..66546f08 100644
--- a/PAMI/highUtilityPattern/basic/abstract.py
+++ b/PAMI/highUtilityPattern/basic/abstract.py
@@ -58,7 +58,7 @@ class _utilityPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/highUtilityPattern/basic/efimParallel.py b/PAMI/highUtilityPattern/basic/efimParallel.py
index d8f11366..25c5a743 100644
--- a/PAMI/highUtilityPattern/basic/efimParallel.py
+++ b/PAMI/highUtilityPattern/basic/efimParallel.py
@@ -445,7 +445,7 @@ def _search(self, collections):
collections = new_collections
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Start the EFIM algorithm.
@@ -566,7 +566,7 @@ def printResults(self):
# sep = " "
# f = efimParallel(inputFile, minUtil, sep, 1)
- # f.startMine()
+ # f.mine()
# f.mine()
# print("# of patterns: " + str(len(f.getPatterns())))
# print("Time taken: " + str(f.getRuntime()))
@@ -579,7 +579,7 @@ def printResults(self):
_ap = efimParallel(_ab._sys.argv[1], int(_ab._sys.argv[3]), _ab._sys.argv[4])
if len(_ab._sys.argv) == 4: #takes "\t" as a separator
_ap = efimParallel(_ab._sys.argv[1], int(_ab._sys.argv[3]))
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of High Utility Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
@@ -588,7 +588,7 @@ def printResults(self):
print("Total ExecutionTime in seconds:", _ap.getRuntime())
else:
_ap = efimParallel('/Users/likhitha/Downloads/Utility_T10I4D100K.csv', 50000, '\t')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of High Utility Patterns:", len(_ap.getPatterns()))
_ap.save('/Users/likhitha/Downloads/UPGrowth_output.txt')
diff --git a/PAMI/highUtilityPattern/parallel/abstract.py b/PAMI/highUtilityPattern/parallel/abstract.py
index c147e2da..66546f08 100644
--- a/PAMI/highUtilityPattern/parallel/abstract.py
+++ b/PAMI/highUtilityPattern/parallel/abstract.py
@@ -58,7 +58,7 @@ class _utilityPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/highUtilityPattern/parallel/efimparallel.py b/PAMI/highUtilityPattern/parallel/efimparallel.py
index 37eca6d4..0410b5b1 100644
--- a/PAMI/highUtilityPattern/parallel/efimparallel.py
+++ b/PAMI/highUtilityPattern/parallel/efimparallel.py
@@ -384,7 +384,7 @@ def _search(self, collections):
collections = new_collections
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Start the EFIM algorithm.
@@ -509,7 +509,7 @@ def printResults(self):
# sep = " "
# f = efimParallel(inputFile, minUtil, sep, 1)
- # f.startMine()
+ # f.mine()
# f.mine()
# print("# of patterns: " + str(len(f.getPatterns())))
# print("Time taken: " + str(f.getRuntime()))
@@ -522,7 +522,7 @@ def printResults(self):
_ap = efimParallel(_ab._sys.argv[1], int(_ab._sys.argv[3]), _ab._sys.argv[4])
if len(_ab._sys.argv) == 4: #takes "\t" as a separator
_ap = efimParallel(_ab._sys.argv[1], int(_ab._sys.argv[3]))
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of High Utility Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
@@ -531,7 +531,7 @@ def printResults(self):
print("Total ExecutionTime in seconds:", _ap.getRuntime())
else:
_ap = efimParallel('/Users/likhitha/Downloads/Utility_T10I4D100K.csv', 50000, '\t')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of High Utility Patterns:", len(_ap.getPatterns()))
_ap.save('/Users/likhitha/Downloads/UPGrowth_output.txt')
diff --git a/PAMI/highUtilityPatterns/parallel/GPUEFIM.py b/PAMI/highUtilityPatterns/parallel/GPUEFIM.py
index 0b03a359..b3fa6960 100644
--- a/PAMI/highUtilityPatterns/parallel/GPUEFIM.py
+++ b/PAMI/highUtilityPatterns/parallel/GPUEFIM.py
@@ -416,7 +416,7 @@ def save(self, outputFile):
joined = " ".join(key) + " #UTIL: " + str(value) + "\n"
f.write(joined)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Start the EFIM algorithm.
@@ -515,7 +515,7 @@ def printResults(self):
sep = " "
f = GPUEFIM(inputFile, minUtil, sep)
- f.startMine()
+ f.mine()
f.mine()
f.save("output.txt")
print("# of patterns: " + str(len(f.getPatterns())))
diff --git a/PAMI/highUtilityPatternsInStreams/HUPMS.py b/PAMI/highUtilityPatternsInStreams/HUPMS.py
index b07f659d..519ebf92 100644
--- a/PAMI/highUtilityPatternsInStreams/HUPMS.py
+++ b/PAMI/highUtilityPatternsInStreams/HUPMS.py
@@ -747,7 +747,7 @@ def treeGenerations(self, root, netUtil, candidatePattern, curItem = []):
if(len(conditionalTree.headerTable.table) != 0):
self.treeGenerations(conditionalTree, netUtil, candidatePattern, newItemset)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
This function will start the mining process
@@ -934,7 +934,7 @@ def save(self):
_ap = HUPMS(_hus._sys.argv[1], _hus._sys.argv[2], _hus._sys.argv[3], _hus._sys.argv[4], _hus._sys.argv[5], _hus._sys.argv[6])
if len(_hus._sys.argv) == 6:
_ap = HUPMS(_hus._sys.argv[1], _hus._sys.argv[2], _hus._sys.argv[3], _hus._sys.argv[4], _hus._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Windows Processes:", len( _ap.getPatterns()))
diff --git a/PAMI/highUtilityPatternsInStreams/SHUGrowth.py b/PAMI/highUtilityPatternsInStreams/SHUGrowth.py
index bd9d2a8d..aa743462 100644
--- a/PAMI/highUtilityPatternsInStreams/SHUGrowth.py
+++ b/PAMI/highUtilityPatternsInStreams/SHUGrowth.py
@@ -827,7 +827,7 @@ def treeGenerations(self, root, netUtil, candidatePattern, curItem = []):
if(len(conditionalTree.headerTable.table) != 0):
self.treeGenerations(conditionalTree, netUtil, candidatePattern, newItemset)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
This function will start the mining process
@@ -1019,7 +1019,7 @@ def save(self):
_ap = SHUGrowth(_hus._sys.argv[1], _hus._sys.argv[2], _hus._sys.argv[3], _hus._sys.argv[4], _hus._sys.argv[5], _hus._sys.argv[6])
if len(_hus._sys.argv) == 6:
_ap = SHUGrowth(_hus._sys.argv[1], _hus._sys.argv[2], _hus._sys.argv[3], _hus._sys.argv[4], _hus._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Windows Processes:", len( _ap.getPatterns()))
_ap.getPatternsAsDataFrame().to_csv("result.csv", index = False, sep='\t')
diff --git a/PAMI/highUtilityPatternsInStreams/abstract.py b/PAMI/highUtilityPatternsInStreams/abstract.py
index f121907a..7c92e52e 100644
--- a/PAMI/highUtilityPatternsInStreams/abstract.py
+++ b/PAMI/highUtilityPatternsInStreams/abstract.py
@@ -59,7 +59,7 @@ class _highUtilityPatternStreamMining(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/highUtilitySpatialPattern/abstract.py b/PAMI/highUtilitySpatialPattern/abstract.py
index b03a5f19..213d3767 100644
--- a/PAMI/highUtilitySpatialPattern/abstract.py
+++ b/PAMI/highUtilitySpatialPattern/abstract.py
@@ -71,7 +71,7 @@ class utilityPatterns(ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/highUtilitySpatialPattern/basic/HDSHUIM.py b/PAMI/highUtilitySpatialPattern/basic/HDSHUIM.py
index 9f3736c3..254f1dff 100644
--- a/PAMI/highUtilitySpatialPattern/basic/HDSHUIM.py
+++ b/PAMI/highUtilitySpatialPattern/basic/HDSHUIM.py
@@ -324,7 +324,7 @@ def _compareItems(self, o1: Any, o2: Any) -> int:
else:
return compare
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
main program to start the operation
@@ -748,7 +748,7 @@ def printResults(self) -> None:
_ap = HDSHUIM(_ab._sys.argv[1], _ab._sys.argv[3], int(_ab._sys.argv[4]), _ab._sys.argv[5])
if len(_ab._sys.argv) == 5: # to consider "\t" as a separator
_ap = HDSHUIM(_ab._sys.argv[1], _ab._sys.argv[3], int(_ab._sys.argv[4]))
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Spatial High-Utility Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
@@ -759,7 +759,7 @@ def printResults(self) -> None:
for i in [100000, 500000]:
_ap = HDSHUIM('/Users/Likhitha/Downloads/mushroom_main_2000.txt',
'/Users/Likhitha/Downloads/mushroom_neighbors_2000.txt', i, ' ')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Spatial High Utility Patterns:", len(_ap.getPatterns()))
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/highUtilitySpatialPattern/basic/SHUIM.py b/PAMI/highUtilitySpatialPattern/basic/SHUIM.py
index 7eb70daa..966f61f7 100644
--- a/PAMI/highUtilitySpatialPattern/basic/SHUIM.py
+++ b/PAMI/highUtilitySpatialPattern/basic/SHUIM.py
@@ -462,7 +462,7 @@ class SHUIM(_ab._utilityPatterns):
def __init__(self, iFile: str, nFile: str, minUtil: int, sep: str="\t") -> None:
super().__init__(iFile, nFile, minUtil, sep)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
main program to start the operation
@@ -916,7 +916,7 @@ def printResults(self) -> None:
_ap = SHUIM(_ab._sys.argv[1], _ab._sys.argv[3], int(_ab._sys.argv[4]), _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = SHUIM(_ab._sys.argv[1], _ab._sys.argv[3], int(_ab._sys.argv[4]))
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Spatial High Utility Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
@@ -926,7 +926,7 @@ def printResults(self) -> None:
else:
for i in [100000, 500000]:
_ap = SHUIM('/Users/Likhitha/Downloads/mushroom_main_2000.txt', '/Users/Likhitha/Downloads/mushroom_neighbors_2000.txt', i, ' ')
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Spatial High Utility Patterns:", len(_ap.getPatterns()))
#_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/highUtilitySpatialPattern/basic/abstract.py b/PAMI/highUtilitySpatialPattern/basic/abstract.py
index 647094df..0a2cb1e3 100644
--- a/PAMI/highUtilitySpatialPattern/basic/abstract.py
+++ b/PAMI/highUtilitySpatialPattern/basic/abstract.py
@@ -70,7 +70,7 @@ class _utilityPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/highUtilitySpatialPattern/topk/TKSHUIM.py b/PAMI/highUtilitySpatialPattern/topk/TKSHUIM.py
index 4fbfce1b..ee218d95 100644
--- a/PAMI/highUtilitySpatialPattern/topk/TKSHUIM.py
+++ b/PAMI/highUtilitySpatialPattern/topk/TKSHUIM.py
@@ -433,7 +433,7 @@ class TKSHUIM(utilityPatterns):
def __init__(self, iFile, nFile, k, sep="\t"):
super().__init__(iFile, nFile, k, sep)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Main function of the program.
@@ -919,7 +919,7 @@ def main():
k = 1000
seperator = ' '
obj = TKSHUIM(iFile=inputFile, nFile=neighborFile, k=k, sep=seperator) #initialize
- obj.startMine()
+ obj.mine()
obj.mine()
obj.printResults()
print(obj.getPatterns())
@@ -932,7 +932,7 @@ def main():
# _ap = TKSHUIM(sys.argv[1], sys.argv[3], int(sys.argv[4]), sys.argv[5])
# if len(sys.argv) == 5:
# _ap = TKSHUIM(sys.argv[1], sys.argv[3], int(sys.argv[4]))
- # _ap.startMine()
+ # _ap.mine()
# _ap.mine()
# print("Top K Spatial High Utility Patterns:", len(_ap.getPatterns()))
# _ap.save(sys.argv[2])
@@ -943,7 +943,7 @@ def main():
# for i in [1000, 5000]:
# _ap = TKSHUIM('/Users/Likhitha/Downloads/mushroom_main_2000.txt',
# '/Users/Likhitha/Downloads/mushroom_neighbors_2000.txt', i, ' ')
- # _ap.startMine()
+ # _ap.mine()
# _ap.mine()
# print("Total number of Spatial High Utility Patterns:", len(_ap.getPatterns()))
# print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/highUtilitySpatialPattern/topk/abstract.py b/PAMI/highUtilitySpatialPattern/topk/abstract.py
index c0152507..6ba632c4 100644
--- a/PAMI/highUtilitySpatialPattern/topk/abstract.py
+++ b/PAMI/highUtilitySpatialPattern/topk/abstract.py
@@ -70,7 +70,7 @@ class utilityPatterns(ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/localPeriodicPattern/basic/LPPGrowth.py b/PAMI/localPeriodicPattern/basic/LPPGrowth.py
index c1ce8a40..4e9264c3 100644
--- a/PAMI/localPeriodicPattern/basic/LPPGrowth.py
+++ b/PAMI/localPeriodicPattern/basic/LPPGrowth.py
@@ -759,7 +759,7 @@ def __convert(self, value: Any) -> float:
value = int(value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Mining process start from here.
@@ -881,7 +881,7 @@ def printResults(self) -> None:
_ap = LPPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], float(_ab._sys.argv[4]), _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = LPPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], float(_ab._sys.argv[4]))
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Local Periodic Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/localPeriodicPattern/basic/LPPMBreadth.py b/PAMI/localPeriodicPattern/basic/LPPMBreadth.py
index 10629b3c..49ed2b5d 100644
--- a/PAMI/localPeriodicPattern/basic/LPPMBreadth.py
+++ b/PAMI/localPeriodicPattern/basic/LPPMBreadth.py
@@ -471,7 +471,7 @@ def __convert(self, value: Union[int, float, str]) -> Union[int, float]:
value = int(value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Mining process start from here.
@@ -591,7 +591,7 @@ def printResults(self) -> None:
_ap = LPPMBreadth(_ab._sys.argv[1], _ab._sys.argv[3], float(_ab._sys.argv[4]), _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = LPPMBreadth(_ab._sys.argv[1], _ab._sys.argv[3], float(_ab._sys.argv[4]))
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Local Periodic Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/localPeriodicPattern/basic/LPPMDepth.py b/PAMI/localPeriodicPattern/basic/LPPMDepth.py
index 84b0e72e..a2cc7d48 100644
--- a/PAMI/localPeriodicPattern/basic/LPPMDepth.py
+++ b/PAMI/localPeriodicPattern/basic/LPPMDepth.py
@@ -442,7 +442,7 @@ def __convert(self, value: Union[int, float, str]) -> Union[int, float]:
value = int(value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Mining process start from here. This function calls createTSlist and generateLPP.
@@ -562,7 +562,7 @@ def printResults(self) -> None:
_ap = LPPMDepth(_ab._sys.argv[1], _ab._sys.argv[3], float(_ab._sys.argv[4]), _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = LPPMDepth(_ab._sys.argv[1], _ab._sys.argv[3], float(_ab._sys.argv[4]))
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Local Periodic Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/localPeriodicPattern/basic/abstract.py b/PAMI/localPeriodicPattern/basic/abstract.py
index a4df2671..6a973113 100644
--- a/PAMI/localPeriodicPattern/basic/abstract.py
+++ b/PAMI/localPeriodicPattern/basic/abstract.py
@@ -70,7 +70,7 @@ class _localPeriodicPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getLocalPeriodicPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/multipleMinimumSupportBasedFrequentPattern/basic/CFPGrowth.py b/PAMI/multipleMinimumSupportBasedFrequentPattern/basic/CFPGrowth.py
index 7482ee64..df03cc0f 100644
--- a/PAMI/multipleMinimumSupportBasedFrequentPattern/basic/CFPGrowth.py
+++ b/PAMI/multipleMinimumSupportBasedFrequentPattern/basic/CFPGrowth.py
@@ -8,7 +8,7 @@
#
# obj = alg.basic(iFile, mIS)
#
-# obj.startMine()
+# obj.mine()
#
# frequentPatterns = obj.getPatterns()
#
@@ -289,7 +289,7 @@ class CFPGrowth(_fp._frequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -333,7 +333,7 @@ class CFPGrowth(_fp._frequentPatterns):
obj = alg.basic(iFile, mIS)
- obj.startMine()
+ obj.mine()
frequentPatterns = obj.getPatterns()
@@ -543,7 +543,7 @@ def __savePeriodic(self, itemSet) -> str:
temp = temp + self.__rankDup[i] + "\t"
return temp
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self) -> None:
"""
main program to start the operation
@@ -667,7 +667,7 @@ def printResults(self) -> None:
_ap = CFPGrowth(_fp._sys.argv[1], _fp._sys.argv[3], _fp._sys.argv[4])
if len(_fp._sys.argv) == 4:
_ap = CFPGrowth(_fp._sys.argv[1], _fp._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_fp._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
@@ -675,7 +675,7 @@ def printResults(self) -> None:
print("Total ExecutionTime in ms:", _ap.getRuntime())
else:
_ap = CFPGrowth('/Users/Likhitha/Downloads/Transactional_T10I4D100K-3.csv', '/Users/Likhitha/Downloads/MIS_T10I4D100K_.csv', '\t')
- _ap.startMine()
+ _ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save('/Users/Likhitha/Downloads/CFPGrowth_output.txt')
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/multipleMinimumSupportBasedFrequentPattern/basic/CFPGrowthPlus.py b/PAMI/multipleMinimumSupportBasedFrequentPattern/basic/CFPGrowthPlus.py
index 723dce61..3f1fd9b0 100644
--- a/PAMI/multipleMinimumSupportBasedFrequentPattern/basic/CFPGrowthPlus.py
+++ b/PAMI/multipleMinimumSupportBasedFrequentPattern/basic/CFPGrowthPlus.py
@@ -10,7 +10,7 @@
#
# obj = alg.CFPGrowthPlus(iFile, MIS, sep)
#
-# obj.startMine()
+# obj.mine()
#
# frequentPatterns = obj.getPatterns()
#
@@ -263,7 +263,7 @@ class CFPGrowthPlus(_fp._frequentPatterns):
- **mapSupport** (*Dictionary*) -- *To maintain the information of item and their frequency.*
- **tree** (*class*) -- *it represents the Tree class.*
- :**Methods**: - **startMine()** -- *Mining process will start from here.*
+ :**Methods**: - **mine()** -- *Mining process will start from here.*
- **getPatterns()** -- *Complete set of patterns will be retrieved with this function.*
- **savePatterns(oFile)** -- *Complete set of frequent patterns will be loaded in to a output file.*
- **getPatternsAsDataFrame()** -- *Complete set of frequent patterns will be loaded in to a dataframe.*
@@ -302,7 +302,7 @@ class CFPGrowthPlus(_fp._frequentPatterns):
obj = alg.CFPGrowthPlus(iFile, MIS, sep)
- obj.startMine()
+ obj.mine()
frequentPatterns = obj.getPatterns()
@@ -509,7 +509,7 @@ def __savePeriodic(self, itemSet):
temp = temp + self.__rankDup[i] + " "
return temp
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
main program to start the operation
@@ -629,7 +629,7 @@ def printResults(self) -> None:
_ap = CFPGrowthPlus(_fp._sys.argv[1], _fp._sys.argv[3], _fp._sys.argv[4])
if len(_fp._sys.argv) == 4:
_ap = CFPGrowthPlus(_fp._sys.argv[1], _fp._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_Patterns = _ap.getPatterns()
print("Total number of Frequent Patterns:", len(_Patterns))
_ap.savePatterns(_fp._sys.argv[2])
diff --git a/PAMI/multipleMinimumSupportBasedFrequentPattern/basic/_CFPGrowthPlus.py b/PAMI/multipleMinimumSupportBasedFrequentPattern/basic/_CFPGrowthPlus.py
index c08a8d10..7d506415 100644
--- a/PAMI/multipleMinimumSupportBasedFrequentPattern/basic/_CFPGrowthPlus.py
+++ b/PAMI/multipleMinimumSupportBasedFrequentPattern/basic/_CFPGrowthPlus.py
@@ -247,7 +247,7 @@ class CFPGrowthPlus(_fp._frequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -291,7 +291,7 @@ class CFPGrowthPlus(_fp._frequentPatterns):
obj = alg.CFPGrowthPlus(iFile, mIS)
- obj.startMine()
+ obj.mine()
frequentPatterns = obj.getPatterns()
@@ -498,7 +498,7 @@ def __savePeriodic(self, itemSet):
temp = temp + self.__rankDup[i] + " "
return temp
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
main program to start the operation
@@ -618,7 +618,7 @@ def printResults(self) -> None:
_ap = CFPGrowthPlus(_fp._sys.argv[1], _fp._sys.argv[3], _fp._sys.argv[4])
if len(_fp._sys.argv) == 4:
_ap = CFPGrowthPlus(_fp._sys.argv[1], _fp._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_Patterns = _ap.getPatterns()
print("Total number of Frequent Patterns:", len(_Patterns))
_ap.savePatterns(_fp._sys.argv[2])
diff --git a/PAMI/multipleMinimumSupportBasedFrequentPattern/basic/abstract.py b/PAMI/multipleMinimumSupportBasedFrequentPattern/basic/abstract.py
index 5918ebb7..321afe7c 100644
--- a/PAMI/multipleMinimumSupportBasedFrequentPattern/basic/abstract.py
+++ b/PAMI/multipleMinimumSupportBasedFrequentPattern/basic/abstract.py
@@ -71,7 +71,7 @@ class _frequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/multipleMinimumSupportBasedSequentialPattern/basic/MMSBPrefixSpan.py b/PAMI/multipleMinimumSupportBasedSequentialPattern/basic/MMSBPrefixSpan.py
index b2af6b4d..7a42f57a 100644
--- a/PAMI/multipleMinimumSupportBasedSequentialPattern/basic/MMSBPrefixSpan.py
+++ b/PAMI/multipleMinimumSupportBasedSequentialPattern/basic/MMSBPrefixSpan.py
@@ -64,7 +64,7 @@ class MMSBprefixSpan(_ab._sequentialPatterns):
to calculate MIS for each items
Methods:
-------
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -105,7 +105,7 @@ class MMSBprefixSpan(_ab._sequentialPatterns):
---------------------------------
import PAMI.multipleMinimumSupportBasedSequentialPattern.basic.MMSBprefixSpan as alg
obj = alg.MMSBprefixSpan(iFile, minSup)
- obj.startMine()
+ obj.mine()
frequentPatterns = obj.getPatterns()
print("Total number of Frequent Patterns:", len(frequentPatterns))
obj.savePatterns(oFile)
@@ -615,7 +615,7 @@ def printResults(self):
_ap = MMSBprefixSpan(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4],_ab._sys.argv[5])
if len(_ab._sys.argv) == 4:
_ap = MMSBprefixSpan(_ab._sys.argv[1], _ab._sys.argv[3],_ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_Patterns = _ap.getPatterns()
print("Total number of Frequent Patterns:", len(_Patterns))
_ap.savePatterns(_ab._sys.argv[2])
diff --git a/PAMI/multipleMinimumSupportBasedSequentialPattern/basic/abstract.py b/PAMI/multipleMinimumSupportBasedSequentialPattern/basic/abstract.py
index c8a84abe..2eeed6f4 100644
--- a/PAMI/multipleMinimumSupportBasedSequentialPattern/basic/abstract.py
+++ b/PAMI/multipleMinimumSupportBasedSequentialPattern/basic/abstract.py
@@ -76,7 +76,7 @@ class _sequentialPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/partialPeriodicFrequentPattern/basic/_GPFgrowth.py b/PAMI/partialPeriodicFrequentPattern/basic/_GPFgrowth.py
index 9a186737..82c6133d 100644
--- a/PAMI/partialPeriodicFrequentPattern/basic/_GPFgrowth.py
+++ b/PAMI/partialPeriodicFrequentPattern/basic/_GPFgrowth.py
@@ -8,7 +8,7 @@
#
# obj = alg.GPFgrowth(inputFile, outputFile, minSup, maxPer, minPR)
#
-# obj.startMine()
+# obj.mine()
#
# partialPeriodicFrequentPatterns = obj.getPatterns()
#
@@ -541,7 +541,7 @@ class GPFgrowth(partialPeriodicPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -572,7 +572,7 @@ class GPFgrowth(partialPeriodicPatterns):
obj = alg.GPFgrowth(inputFile, outputFile, minSup, maxPer, minPR)
- obj.startMine()
+ obj.mine()
partialPeriodicFrequentPatterns = obj.getPatterns()
diff --git a/PAMI/partialPeriodicFrequentPattern/basic/_PPF_DFS.py b/PAMI/partialPeriodicFrequentPattern/basic/_PPF_DFS.py
index 8049638d..56e21369 100644
--- a/PAMI/partialPeriodicFrequentPattern/basic/_PPF_DFS.py
+++ b/PAMI/partialPeriodicFrequentPattern/basic/_PPF_DFS.py
@@ -8,7 +8,7 @@
#
# obj = alg.PPF_DFS(iFile, minSup)
#
-# obj.startMine()
+# obj.mine()
#
# frequentPatterns = obj.getPatterns()
#
@@ -116,7 +116,7 @@ class PPF_DFS(partialPeriodicPatterns):
save prefix pattern with support and periodic ratio
Generation(prefix, itemsets, tidsets)
Userd to implement prefix class equibalence method to generate the periodic patterns recursively
- startMine()
+ mine()
Mining process will start from here
getPartialPeriodicPatterns()
Complete set of patterns will be retrieved with this function
@@ -147,7 +147,7 @@ class PPF_DFS(partialPeriodicPatterns):
obj = alg.PPF_DFS(iFile, minSup)
- obj.startMine()
+ obj.mine()
frequentPatterns = obj.getPatterns()
diff --git a/PAMI/partialPeriodicFrequentPattern/basic/abstract.py b/PAMI/partialPeriodicFrequentPattern/basic/abstract.py
index ab2bef6c..38815d27 100644
--- a/PAMI/partialPeriodicFrequentPattern/basic/abstract.py
+++ b/PAMI/partialPeriodicFrequentPattern/basic/abstract.py
@@ -40,7 +40,7 @@ class partialPeriodicPatterns(ABC):
To store the total amount of RSS memory consumed by the program
:Methods:
- startMine()
+ mine()
Mining process will start from here
getFrequentPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/partialPeriodicFrequentPattern/cuda/cuGPPMiner.py b/PAMI/partialPeriodicFrequentPattern/cuda/cuGPPMiner.py
index 24363e78..7133f7d9 100644
--- a/PAMI/partialPeriodicFrequentPattern/cuda/cuGPPMiner.py
+++ b/PAMI/partialPeriodicFrequentPattern/cuda/cuGPPMiner.py
@@ -327,7 +327,7 @@ def __creatingItemSets(self):
return newArraysAndItems
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Main program start with extracting the periodic frequent items from the database and
@@ -441,7 +441,7 @@ def Mine(self):
ap = cuGPPMiner(sys.argv[1], sys.argv[3], sys.argv[4], sys.argv[5], sys.argv[6])
if len(sys.argv) == 6:
ap = cuGPPMiner(sys.argv[1], sys.argv[3], sys.argv[4], sys.argv[5])
- ap.startMine()
+ ap.mine()
print("Total number of Frequent Patterns:", len(ap.getPatterns()))
ap.save(sys.argv[2])
print("Total Memory in USS:", ap.getMemoryUSS())
@@ -450,7 +450,7 @@ def Mine(self):
else:
# for i in [1000, 2000, 3000, 4000, 5000]:
_ap = cuGPPMiner('Temporal_T10I4D100K.csv', 50, 2000, 0.7, '\t')
- _ap.startMine()
+ _ap.mine()
print("Total number of Maximal Partial Periodic Patterns:", len(_ap.getPatterns()))
# _ap.save('output.txt')
df2 = _ap.getPatterns()
diff --git a/PAMI/partialPeriodicPattern/basic/GThreePGrowth.py b/PAMI/partialPeriodicPattern/basic/GThreePGrowth.py
index 139ffad9..ec9ab082 100644
--- a/PAMI/partialPeriodicPattern/basic/GThreePGrowth.py
+++ b/PAMI/partialPeriodicPattern/basic/GThreePGrowth.py
@@ -7,7 +7,7 @@
#
# obj = alg.PPPGrowth(iFile, minPS, period)
#
-# obj.startMine()
+# obj.mine()
#
# partialPeriodicPatterns = obj.getPatterns()
#
@@ -340,7 +340,7 @@ class GThreePGrowth(_abstract._partialPeriodicPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -363,7 +363,7 @@ class GThreePGrowth(_abstract._partialPeriodicPatterns):
by decreasing support
buildTree()
constrcuts the main tree by setting the root node as null
- startMine()
+ mine()
main program to mine the partial periodic patterns
**Executing the code on terminal:**
@@ -384,7 +384,7 @@ class GThreePGrowth(_abstract._partialPeriodicPatterns):
obj = alg.PPPGrowth(iFile, minPS, period)
- obj.startMine()
+ obj.mine()
partialPeriodicPatterns = obj.getPatterns()
diff --git a/PAMI/partialPeriodicPattern/basic/Gabstract.py b/PAMI/partialPeriodicPattern/basic/Gabstract.py
index 721fd704..44ac476c 100644
--- a/PAMI/partialPeriodicPattern/basic/Gabstract.py
+++ b/PAMI/partialPeriodicPattern/basic/Gabstract.py
@@ -40,7 +40,7 @@ class _partialPeriodicPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getFrequentPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/partialPeriodicPattern/basic/PPPGrowth copy.py b/PAMI/partialPeriodicPattern/basic/PPPGrowth copy.py
index 5e0e8877..ce674ae2 100644
--- a/PAMI/partialPeriodicPattern/basic/PPPGrowth copy.py
+++ b/PAMI/partialPeriodicPattern/basic/PPPGrowth copy.py
@@ -8,7 +8,7 @@
#
# obj = alg.PPPGrowth(iFile, minPS, period)
#
-# obj.startMine()
+# obj.mine()
#
# partialPeriodicPatterns = obj.getPatterns()
#
@@ -349,7 +349,7 @@ class PPPGrowth(_abstract._partialPeriodicPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -372,7 +372,7 @@ class PPPGrowth(_abstract._partialPeriodicPatterns):
by decreasing support
buildTree()
constrcuts the main tree by setting the root node as null
- startMine()
+ mine()
main program to mine the partial periodic patterns
**Executing the code on terminal:**
@@ -397,7 +397,7 @@ class PPPGrowth(_abstract._partialPeriodicPatterns):
obj = alg.PPPGrowth(iFile, minPS, period)
- obj.startMine()
+ obj.mine()
partialPeriodicPatterns = obj.getPatterns()
@@ -577,7 +577,7 @@ def _convert(self, value: Union[int, float, str]) -> Union[int, float]:
return value
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self) -> None:
"""
Main method where the patterns are mined by constructing tree.
@@ -701,7 +701,7 @@ def printResults(self) -> None:
_ap = PPPGrowth(_sys.argv[1], _sys.argv[3], _sys.argv[4], _sys.argv[5])
if len(_sys.argv) == 5:
_ap = PPPGrowth(_sys.argv[1], _sys.argv[3], _sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Partial Periodic Patterns:", len(_ap.getPatterns()))
_ap.save(_sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
@@ -711,7 +711,7 @@ def printResults(self) -> None:
print("Error! The number of input parameters do not match the total number of parameters provided")
for i in [100, 200, 300, 400, 500]:
_ap = PPPGrowth('/Users/tarunsreepada/Downloads/Temporal_T10I4D100K.csv', i, 5000, '\t')
- _ap.startMine()
+ _ap.mine()
print("Total number of Maximal Partial Periodic Patterns:", len(_ap.getPatterns()))
_ap.save('/Users/tarunsreepada/Downloads/output.txt')
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/partialPeriodicPattern/basic/PPPGrowth.py b/PAMI/partialPeriodicPattern/basic/PPPGrowth.py
index 014b7849..0cd4443a 100644
--- a/PAMI/partialPeriodicPattern/basic/PPPGrowth.py
+++ b/PAMI/partialPeriodicPattern/basic/PPPGrowth.py
@@ -8,7 +8,7 @@
#
# obj = alg.PPPGrowth(iFile, minPS, period)
#
-# obj.startMine()
+# obj.mine()
#
# partialPeriodicPatterns = obj.getPatterns()
#
@@ -179,7 +179,7 @@ class PPPGrowth(_abstract._partialPeriodicPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -202,7 +202,7 @@ class PPPGrowth(_abstract._partialPeriodicPatterns):
by decreasing support
buildTree()
constrcuts the main tree by setting the root node as null
- startMine()
+ mine()
main program to mine the partial periodic patterns
**Executing the code on terminal:**
@@ -227,7 +227,7 @@ class PPPGrowth(_abstract._partialPeriodicPatterns):
obj = alg.PPPGrowth(iFile, minPS, period)
- obj.startMine()
+ obj.mine()
partialPeriodicPatterns = obj.getPatterns()
@@ -334,7 +334,7 @@ def _convert(self, value: Union[int, float, str]) -> Union[int, float]:
return value
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self) -> None:
"""
Main method where the patterns are mined by constructing tree.
@@ -607,7 +607,7 @@ def printResults(self) -> None:
_ap = PPPGrowth(_sys.argv[1], _sys.argv[3], _sys.argv[4], _sys.argv[5])
if len(_sys.argv) == 5:
_ap = PPPGrowth(_sys.argv[1], _sys.argv[3], _sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Partial Periodic Patterns:", len(_ap.getPatterns()))
_ap.save(_sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
@@ -617,7 +617,7 @@ def printResults(self) -> None:
print("Error! The number of input parameters do not match the total number of parameters provided")
for i in [100, 200, 300, 400, 500]:
_ap = PPPGrowth('/Users/tarunsreepada/Downloads/Temporal_T10I4D100K.csv', i, 5000, '\t')
- _ap.startMine()
+ _ap.mine()
print("Total number of Maximal Partial Periodic Patterns:", len(_ap.getPatterns()))
_ap.save('/Users/tarunsreepada/Downloads/output.txt')
print(_ap.getPatternsAsDataFrame())
diff --git a/PAMI/partialPeriodicPattern/basic/PPP_ECLAT copy.py b/PAMI/partialPeriodicPattern/basic/PPP_ECLAT copy.py
index 9bfdfa45..f52586da 100644
--- a/PAMI/partialPeriodicPattern/basic/PPP_ECLAT copy.py
+++ b/PAMI/partialPeriodicPattern/basic/PPP_ECLAT copy.py
@@ -7,7 +7,7 @@
#
# obj = alg.PPP_ECLAT(iFile, minPS, period)
#
-# obj.startMine()
+# obj.mine()
#
# Patterns = obj.getPatterns()
#
@@ -121,7 +121,7 @@ class PPP_ECLAT(_ab._partialPeriodicPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -164,7 +164,7 @@ class PPP_ECLAT(_ab._partialPeriodicPatterns):
obj = alg.PPP_ECLAT(iFile, minPS,period)
- obj.startMine()
+ obj.mine()
Patterns = obj.getPatterns()
@@ -379,7 +379,7 @@ def _Generation(self, prefix: List[str], itemSets: List[str], tidSets: List[list
self._save(prefix, list(set(itemSetX)), tidSetX)
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self) -> None:
"""
Main program start with extracting the periodic frequent items from the database and
@@ -506,7 +506,7 @@ def printResults(self) -> None:
_ap = PPP_ECLAT(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = PPP_ECLAT(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Partial Periodic Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/partialPeriodicPattern/basic/PPP_ECLAT.py b/PAMI/partialPeriodicPattern/basic/PPP_ECLAT.py
index ffecc251..21a9cd98 100644
--- a/PAMI/partialPeriodicPattern/basic/PPP_ECLAT.py
+++ b/PAMI/partialPeriodicPattern/basic/PPP_ECLAT.py
@@ -7,7 +7,7 @@
#
# obj = alg.PPP_ECLAT(iFile, minPS, period)
#
-# obj.startMine()
+# obj.mine()
#
# Patterns = obj.getPatterns()
#
@@ -119,7 +119,7 @@ class PPP_ECLAT(_ab._partialPeriodicPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -162,7 +162,7 @@ class PPP_ECLAT(_ab._partialPeriodicPatterns):
obj = alg.PPP_ECLAT(iFile, minPS,period)
- obj.startMine()
+ obj.mine()
Patterns = obj.getPatterns()
@@ -298,7 +298,7 @@ def _creatingItemSets(self) -> None:
print("File Not Found")
quit()
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self) -> None:
"""
Main program start with extracting the periodic frequent items from the database and
@@ -476,7 +476,7 @@ def printResults(self) -> None:
_ap = PPP_ECLAT(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = PPP_ECLAT(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Partial Periodic Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
@@ -485,7 +485,7 @@ def printResults(self) -> None:
else:
for i in [100, 200, 300, 400, 500]:
_ap = PPP_ECLAT('/Users/tarunsreepada/Downloads/Temporal_T10I4D100K.csv', i, 5000, '\t')
- _ap.startMine()
+ _ap.mine()
print("Total number of Maximal Partial Periodic Patterns:", len(_ap.getPatterns()))
_ap.save('/Users/tarunsreepada/Downloads/output.txt')
print(_ap.getPatternsAsDataFrame())
diff --git a/PAMI/partialPeriodicPattern/basic/abstract.py b/PAMI/partialPeriodicPattern/basic/abstract.py
index 09f94687..fc14e69e 100644
--- a/PAMI/partialPeriodicPattern/basic/abstract.py
+++ b/PAMI/partialPeriodicPattern/basic/abstract.py
@@ -40,7 +40,7 @@ class _partialPeriodicPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getFrequentPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/partialPeriodicPattern/closed/PPPClose.py b/PAMI/partialPeriodicPattern/closed/PPPClose.py
index b02299e3..0fa1395f 100644
--- a/PAMI/partialPeriodicPattern/closed/PPPClose.py
+++ b/PAMI/partialPeriodicPattern/closed/PPPClose.py
@@ -7,7 +7,7 @@
#
# obj = alg.PPPClose("../basic/sampleTDB.txt", "2", "6")
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -122,7 +122,7 @@ class PPPClose(_abstract._partialPeriodicPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -159,7 +159,7 @@ class PPPClose(_abstract._partialPeriodicPatterns):
obj = alg.PPPClose("../basic/sampleTDB.txt", "2", "6")
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
@@ -445,7 +445,7 @@ def _processEquivalenceClass(self, prefix, itemSets, tidSets):
self._processEquivalenceClass(newPrefix, classItemSets, classTidSets)
self._save(prefix, list(set(itemSetX)), tidSetX)
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Mining process will start from here
@@ -575,7 +575,7 @@ def printResults(self):
_ap = PPPClose(_sys.argv[1], _sys.argv[3], _sys.argv[4], _sys.argv[5])
if len(_sys.argv) == 5:
_ap = PPPClose(_sys.argv[1], _sys.argv[3], _sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Patterns:", len(_ap.getPatterns()))
_ap.save(_sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/partialPeriodicPattern/closed/abstract.py b/PAMI/partialPeriodicPattern/closed/abstract.py
index e3f83d60..59b18e0d 100644
--- a/PAMI/partialPeriodicPattern/closed/abstract.py
+++ b/PAMI/partialPeriodicPattern/closed/abstract.py
@@ -39,7 +39,7 @@ class _partialPeriodicPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getFrequentPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/partialPeriodicPattern/cuda/abstract.py b/PAMI/partialPeriodicPattern/cuda/abstract.py
index c408c078..5285543b 100644
--- a/PAMI/partialPeriodicPattern/cuda/abstract.py
+++ b/PAMI/partialPeriodicPattern/cuda/abstract.py
@@ -42,7 +42,7 @@ class _partialPeriodicPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getFrequentPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/partialPeriodicPattern/cuda/cpucuGPPMiner.py b/PAMI/partialPeriodicPattern/cuda/cpucuGPPMiner.py
index 64b66648..b0bfd9ab 100644
--- a/PAMI/partialPeriodicPattern/cuda/cpucuGPPMiner.py
+++ b/PAMI/partialPeriodicPattern/cuda/cpucuGPPMiner.py
@@ -74,7 +74,7 @@ class cpucuGPPMiner(_ab._partialPeriodicPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -115,7 +115,7 @@ class cpucuGPPMiner(_ab._partialPeriodicPatterns):
obj = alg.gPPMiner("../basic/sampleTDB.txt", "2", "5")
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
@@ -299,7 +299,7 @@ def _creatingOneItemSets(self):
return candidates, data
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
self.mine()
@@ -461,7 +461,7 @@ def printResults(self):
_ap = cpucuGPPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = cpucuGPPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/partialPeriodicPattern/cuda/cuGPPMiner.py b/PAMI/partialPeriodicPattern/cuda/cuGPPMiner.py
index f9eb191a..16e5928a 100644
--- a/PAMI/partialPeriodicPattern/cuda/cuGPPMiner.py
+++ b/PAMI/partialPeriodicPattern/cuda/cuGPPMiner.py
@@ -71,7 +71,7 @@ class cuGPPMiner(_ab._partialPeriodicPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -106,7 +106,7 @@ class cuGPPMiner(_ab._partialPeriodicPatterns):
obj = alg.gPPMiner("../basic/sampleTDB.txt", "2", "5")
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
@@ -332,7 +332,7 @@ def _creatingOneItemSets(self):
number += 1
return newArraysAndItems
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
self.mine()
@@ -494,7 +494,7 @@ def printResults(self):
_ap = cuGPPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = cuGPPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/partialPeriodicPattern/cuda/gPPMiner.py b/PAMI/partialPeriodicPattern/cuda/gPPMiner.py
index b6b3275f..4a12384e 100644
--- a/PAMI/partialPeriodicPattern/cuda/gPPMiner.py
+++ b/PAMI/partialPeriodicPattern/cuda/gPPMiner.py
@@ -173,7 +173,7 @@ def __generateBitArray(self, fileData):
cuda.memcpy_htod(gpuBitArray, bitValues)
return gpuBitArray, index2id
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Start the mining process
@@ -373,7 +373,7 @@ def getPatterns(self):
periodicSupport = 45000
period = 10
obj = gPPMiner(filePath, periodicSupport, period, sep)
- obj.startMine()
+ obj.mine()
print("Time: ", obj.getRuntime())
print("Patterns: ", len(obj.getPatterns()))
print("GPU MEM: ", obj.getGPUMemory())
diff --git a/PAMI/partialPeriodicPattern/cuda/gdscuGPPMiner.py b/PAMI/partialPeriodicPattern/cuda/gdscuGPPMiner.py
index 4d164f80..eadc21a6 100644
--- a/PAMI/partialPeriodicPattern/cuda/gdscuGPPMiner.py
+++ b/PAMI/partialPeriodicPattern/cuda/gdscuGPPMiner.py
@@ -61,7 +61,7 @@ class gdscuGPPMiner(_ab._partialPeriodicPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -96,7 +96,7 @@ class gdscuGPPMiner(_ab._partialPeriodicPatterns):
obj = alg.gPPMiner("../basic/sampleTDB.txt", "2", "5")
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
@@ -279,7 +279,7 @@ def _creatingOneItemSets(self):
return candidates, data
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
self.mine()
@@ -443,7 +443,7 @@ def printResults(self):
_ap = gdscuGPPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = gdscuGPPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/partialPeriodicPattern/maximal/Max3PGrowth.py b/PAMI/partialPeriodicPattern/maximal/Max3PGrowth.py
index 0790b64d..de19a84c 100644
--- a/PAMI/partialPeriodicPattern/maximal/Max3PGrowth.py
+++ b/PAMI/partialPeriodicPattern/maximal/Max3PGrowth.py
@@ -11,7 +11,7 @@
#
# obj = alg.ThreePGrowth(iFile, periodicSupport, period)
#
-# obj.startMine()
+# obj.mine()
#
# partialPeriodicPatterns = obj.partialPeriodicPatterns()
#
@@ -457,7 +457,7 @@ class Max3PGrowth(_abstract._partialPeriodicPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getFrequentPatterns()
Complete set of patterns will be retrieved with this function
@@ -479,7 +479,7 @@ class Max3PGrowth(_abstract._partialPeriodicPatterns):
update the Databases by removing aperiodic items and sort the Database by item decreased support
buildTree()
after updating the Databases ar added into the tree by setting root node as null
- startMine()
+ mine()
the main method to run the program
**Executing the code on terminal:**
@@ -498,7 +498,7 @@ class Max3PGrowth(_abstract._partialPeriodicPatterns):
obj = alg.ThreePGrowth(iFile, periodicSupport, period)
- obj.startMine()
+ obj.mine()
partialPeriodicPatterns = obj.partialPeriodicPatterns()
diff --git a/PAMI/partialPeriodicPattern/maximal/abstract.py b/PAMI/partialPeriodicPattern/maximal/abstract.py
index 249f571d..dfc1769a 100644
--- a/PAMI/partialPeriodicPattern/maximal/abstract.py
+++ b/PAMI/partialPeriodicPattern/maximal/abstract.py
@@ -40,7 +40,7 @@ class _partialPeriodicPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getFrequentPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/partialPeriodicPattern/pyspark/abstract.py b/PAMI/partialPeriodicPattern/pyspark/abstract.py
index e2179f32..2fff975a 100644
--- a/PAMI/partialPeriodicPattern/pyspark/abstract.py
+++ b/PAMI/partialPeriodicPattern/pyspark/abstract.py
@@ -40,7 +40,7 @@ class _partialPeriodicPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getFrequentPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/partialPeriodicPattern/pyspark/parallel3PGrowth.py b/PAMI/partialPeriodicPattern/pyspark/parallel3PGrowth.py
index 15f9a402..4a0b5244 100644
--- a/PAMI/partialPeriodicPattern/pyspark/parallel3PGrowth.py
+++ b/PAMI/partialPeriodicPattern/pyspark/parallel3PGrowth.py
@@ -6,7 +6,7 @@
#
# obj = alg.parallel3PGrowth(iFile, minPS, period,numWorkers)
#
-# obj.startMine()
+# obj.mine()
#
# partialPeriodicPatterns = obj.getPatterns()
#
@@ -383,7 +383,7 @@ class parallel3PGrowth(_ab._partialPeriodicPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -406,7 +406,7 @@ class parallel3PGrowth(_ab._partialPeriodicPatterns):
by decreasing support
buildTree()
constrcuts the main tree by setting the root node as null
- startMine()
+ mine()
main program to mine the partial periodic patterns
**Executing the code on terminal:**
@@ -430,7 +430,7 @@ class parallel3PGrowth(_ab._partialPeriodicPatterns):
obj = alg.4PGrowth(iFile, periodicSupport, period)
- obj.startMine()
+ obj.mine()
partialPeriodicPatterns = obj.getPatterns()
@@ -476,7 +476,7 @@ class parallel3PGrowth(_ab._partialPeriodicPatterns):
numPartitions = 5
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Main method where the patterns are mined by constructing tree.
@@ -889,7 +889,7 @@ def getPF(self,tid_list):
_ap = parallel3PGrowth(_sys.argv[1], _sys.argv[3], _sys.argv[4], _sys.argv[5])
if len(_sys.argv) == 5:
_ap = parallel3PGrowth(_sys.argv[1], _sys.argv[3], _sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Partial Periodic Patterns:", len(_ap.getPatterns()))
_ap.save(_sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
@@ -903,5 +903,5 @@ def getPF(self,tid_list):
_ap = parallel3PGrowth('Temporal_T10I4D100K.csv', minPS, period, '\t')
_ap.setPartitions(20)
- _ap.startMine()
+ _ap.mine()
\ No newline at end of file
diff --git a/PAMI/partialPeriodicPattern/topk/abstract.py b/PAMI/partialPeriodicPattern/topk/abstract.py
index 3d4fceed..6c8d9e91 100644
--- a/PAMI/partialPeriodicPattern/topk/abstract.py
+++ b/PAMI/partialPeriodicPattern/topk/abstract.py
@@ -64,7 +64,7 @@ class partialPeriodicPatterns(ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/partialPeriodicPattern/topk/k3PMiner.py b/PAMI/partialPeriodicPattern/topk/k3PMiner.py
index 1cc99236..caeb4a47 100644
--- a/PAMI/partialPeriodicPattern/topk/k3PMiner.py
+++ b/PAMI/partialPeriodicPattern/topk/k3PMiner.py
@@ -9,7 +9,7 @@
#
# obj = alg.k3PMiner(iFile, k, periodicity)
#
-# obj.startMine()
+# obj.mine()
#
# partialPeriodicPatterns = obj.getPatterns()
#
@@ -107,7 +107,7 @@ class k3PMiner(_abstract.partialPeriodicPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -152,7 +152,7 @@ class k3PMiner(_abstract.partialPeriodicPatterns):
obj = alg.Topk_PPPGrowth(iFile, k, period)
- obj.startMine()
+ obj.mine()
partialPeriodicPatterns = obj.getPatterns()
@@ -394,7 +394,7 @@ def _Generation(self, prefix, itemSets, tidSets):
self._Generation(newPrefix, classItemSets, classTidSets)
self._save(prefix, list(set(itemSetX)), tidSetI)
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Main function of the program
@@ -514,7 +514,7 @@ def printResults(self):
_ap = k3PMiner(_sys.argv[1], _sys.argv[3], _sys.argv[4], _sys.argv[5])
if len(_sys.argv) == 5:
_ap = k3PMiner(_sys.argv[1], _sys.argv[3], _sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Top K Partial Periodic Patterns:", len(_ap.getPatterns()))
_ap.save(_sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/partialPeriodicPatternInMultipleTimeSeries/PPGrowth.py b/PAMI/partialPeriodicPatternInMultipleTimeSeries/PPGrowth.py
index b0d342e7..3134d096 100644
--- a/PAMI/partialPeriodicPatternInMultipleTimeSeries/PPGrowth.py
+++ b/PAMI/partialPeriodicPatternInMultipleTimeSeries/PPGrowth.py
@@ -6,7 +6,7 @@
#
# obj = alg.PPGrowth(iFile, minSup, maxPer)
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -371,7 +371,7 @@ class PPGrowth(_ab._partialPeriodicPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -420,7 +420,7 @@ class PPGrowth(_ab._partialPeriodicPatterns):
obj = alg.PPGrowth(iFile, minSup, maxPer)
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
@@ -622,7 +622,7 @@ def _convertNumber(self):
self._Database=newDatabase
return rechangeDic
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Mining process will start from this function
@@ -775,7 +775,7 @@ def printResults(self):
_ap = PPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = PPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/partialPeriodicPatternInMultipleTimeSeries/abstract.py b/PAMI/partialPeriodicPatternInMultipleTimeSeries/abstract.py
index 57811fc4..787e9ddc 100644
--- a/PAMI/partialPeriodicPatternInMultipleTimeSeries/abstract.py
+++ b/PAMI/partialPeriodicPatternInMultipleTimeSeries/abstract.py
@@ -57,7 +57,7 @@ class _partialPeriodicPatterns(_ABC):
To store the total amount of RSS memory consumed by the program
Methods
-------
- startMine()
+ mine()
Mining process will start from here
getFrequentPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/periodicCorrelatedPattern/basic/EPCPGrowth.py b/PAMI/periodicCorrelatedPattern/basic/EPCPGrowth.py
index 65daa546..774fcb8f 100644
--- a/PAMI/periodicCorrelatedPattern/basic/EPCPGrowth.py
+++ b/PAMI/periodicCorrelatedPattern/basic/EPCPGrowth.py
@@ -8,7 +8,7 @@
#
# obj = alg.EPCPGrowth(iFile, minSup, minAllCOnf, maxPer, maxPerAllConf)
#
-# obj.startMine()
+# obj.mine()
#
# periodicCorrelatedPatterns = obj.getPatterns()
#
@@ -384,7 +384,7 @@ class EPCPGrowth(_ab._periodicCorrelatedPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -425,7 +425,7 @@ class EPCPGrowth(_ab._periodicCorrelatedPatterns):
obj = alg.EPCPGrowth(iFile, minSup, minAllCOnf, maxPer, maxPerAllConf)
- obj.startMine()
+ obj.mine()
periodicCorrelatedPatterns = obj.getPatterns()
@@ -768,7 +768,7 @@ def printResults(self) -> None:
_ap = EPCPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5], sys.argv[6], sys.argv[7])
if len(_ab._sys.argv) == 7:
_ap = EPCPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], sys.argv[5], sys.argv[6])
- _ap.startMine()
+ _ap.mine()
print("Total number of Correlated Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/periodicCorrelatedPattern/basic/abstract.py b/PAMI/periodicCorrelatedPattern/basic/abstract.py
index 93fbc5f5..4f378f4c 100644
--- a/PAMI/periodicCorrelatedPattern/basic/abstract.py
+++ b/PAMI/periodicCorrelatedPattern/basic/abstract.py
@@ -68,7 +68,7 @@ class _periodicCorrelatedPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/periodicFrequentPattern/basic/PFECLAT.py b/PAMI/periodicFrequentPattern/basic/PFECLAT.py
index 9cde7084..5458cf83 100644
--- a/PAMI/periodicFrequentPattern/basic/PFECLAT.py
+++ b/PAMI/periodicFrequentPattern/basic/PFECLAT.py
@@ -90,7 +90,7 @@ class PFECLAT(_ab._periodicFrequentPatterns):
- **tidList** (*dict*) -- *stores the timestamps of an item.*
- **hashing** (*dict*) -- *stores the patterns with their support to check for the closed property.*
- :**Methods**: - **startMine()** -- *Mining process will start from here.*
+ :**Methods**: - **mine()** -- *Mining process will start from here.*
- **getPatterns()** -- *Complete set of patterns will be retrieved with this function.*
- **save(oFile)** -- *Complete set of periodic-frequent patterns will be loaded in to a output file.*
- **getPatternsAsDataFrame()** -- *Complete set of periodic-frequent patterns will be loaded in to a dataframe.*
@@ -240,7 +240,7 @@ def _creatingItemSets(self) -> None:
print("File Not Found")
quit()
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
self.mine()
@@ -411,7 +411,7 @@ def printResults(self) -> None:
_ap = PFECLAT(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = PFECLAT(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/periodicFrequentPattern/basic/PFPGrowth.py b/PAMI/periodicFrequentPattern/basic/PFPGrowth.py
index 932ffd5a..9e4c3705 100644
--- a/PAMI/periodicFrequentPattern/basic/PFPGrowth.py
+++ b/PAMI/periodicFrequentPattern/basic/PFPGrowth.py
@@ -147,7 +147,7 @@ class PFPGrowth(_ab._periodicFrequentPatterns):
- **tree** (*class*) -- *it represents the Tree class.*
- **itemSetCount** (*int*) -- *it represents the total no of patterns.*
- :**Methods**: - **startMine()** -- *Mining process will start from here.*
+ :**Methods**: - **mine()** -- *Mining process will start from here.*
- **getPatterns()** -- *Complete set of patterns will be retrieved with this function.*
- **save(oFile)** -- *Complete set of periodic-frequent patterns will be loaded in to a output file.*
- **getPatternsAsDataFrame()** -- *Complete set of periodic-frequent patterns will be loaded in to a dataframe.*
@@ -297,7 +297,7 @@ def _convert(self, value) -> int:
value = int(value)
return value
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
self.mine()
@@ -587,7 +587,7 @@ def printResults(self) -> None:
_ap = PFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = PFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/periodicFrequentPattern/basic/PFPGrowthPlus.py b/PAMI/periodicFrequentPattern/basic/PFPGrowthPlus.py
index c60855bc..6021d625 100644
--- a/PAMI/periodicFrequentPattern/basic/PFPGrowthPlus.py
+++ b/PAMI/periodicFrequentPattern/basic/PFPGrowthPlus.py
@@ -9,7 +9,7 @@
#
# obj = alg.PFPGrowthPlus("../basic/sampleTDB.txt", "2", "6")
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -343,7 +343,7 @@ class PFPGrowthPlus(_ab._periodicFrequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -367,7 +367,7 @@ class PFPGrowthPlus(_ab._periodicFrequentPatterns):
update the Databases by removing aperiodic items and sort the Database by item decreased support
buildTree()
after updating the Databases ar added into the tree by setting root node as null
- startMine()
+ mine()
the main method to run the program
@@ -395,7 +395,7 @@ class PFPGrowthPlus(_ab._periodicFrequentPatterns):
obj = alg.PFPGrowthPlus("../basic/sampleTDB.txt", "2", "6")
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
@@ -742,7 +742,7 @@ def printResults(self) -> None:
_ap = PFPGrowthPlus(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = PFPGrowthPlus(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/periodicFrequentPattern/basic/PFPMC.py b/PAMI/periodicFrequentPattern/basic/PFPMC.py
index 83848e65..7f641db2 100644
--- a/PAMI/periodicFrequentPattern/basic/PFPMC.py
+++ b/PAMI/periodicFrequentPattern/basic/PFPMC.py
@@ -8,7 +8,7 @@
#
# obj = alg.PFPMC("../basic/sampleTDB.txt", "2", "5")
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -124,7 +124,7 @@ class PFPMC(_ab._periodicFrequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -170,7 +170,7 @@ class PFPMC(_ab._periodicFrequentPatterns):
obj = alg.PFPMC("../basic/sampleTDB.txt", "2", "5")
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
@@ -514,7 +514,7 @@ def printResults(self) -> None:
_ap = PFPMC(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = PFPMC(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/periodicFrequentPattern/basic/PSGrowth.py b/PAMI/periodicFrequentPattern/basic/PSGrowth.py
index 36ea1b5d..a49c6b4c 100644
--- a/PAMI/periodicFrequentPattern/basic/PSGrowth.py
+++ b/PAMI/periodicFrequentPattern/basic/PSGrowth.py
@@ -8,7 +8,7 @@
#
# obj = alg.PSGrowth("../basic/sampleTDB.txt", "2", "6")
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -628,7 +628,7 @@ class PSGrowth(_ab._periodicFrequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -674,7 +674,7 @@ class PSGrowth(_ab._periodicFrequentPatterns):
obj = alg.PSGrowth("../basic/sampleTDB.txt", "2", "6")
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
@@ -830,7 +830,7 @@ def _buildTree(self, info, sampleDict) -> _Tree:
rootNode.addTransaction(list2[1:], list2[0])
return rootNode
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self) -> None:
"""
Mining process will start from this function
@@ -976,7 +976,7 @@ def printResults(self)-> None:
_ap = PSGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = PSGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/periodicFrequentPattern/basic/_PFECLAT.py b/PAMI/periodicFrequentPattern/basic/_PFECLAT.py
index ed4cf1a1..8c70fa52 100644
--- a/PAMI/periodicFrequentPattern/basic/_PFECLAT.py
+++ b/PAMI/periodicFrequentPattern/basic/_PFECLAT.py
@@ -9,7 +9,7 @@
#
# obj = alg.PFECLAT("../basic/sampleTDB.txt", "2", "5")
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -125,7 +125,7 @@ class PFECLAT(_ab._periodicFrequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -173,7 +173,7 @@ class PFECLAT(_ab._periodicFrequentPatterns):
obj = alg.PFECLAT("../basic/sampleTDB.txt", "2", "5")
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
@@ -341,7 +341,7 @@ def _generateEclat(self, candidates: list) -> None:
if len(newCandidates) > 0:
self._generateEclat(newCandidates)
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self) -> None:
"""
Mining process will start from this function
@@ -461,7 +461,7 @@ def printResults(self) -> None:
_ap = PFECLAT(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = PFECLAT(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/periodicFrequentPattern/basic/_PFPGrowth.py b/PAMI/periodicFrequentPattern/basic/_PFPGrowth.py
index 4aa1fedb..d71c2874 100644
--- a/PAMI/periodicFrequentPattern/basic/_PFPGrowth.py
+++ b/PAMI/periodicFrequentPattern/basic/_PFPGrowth.py
@@ -8,7 +8,7 @@
#
# obj = alg.PFPGrowth(iFile, minSup, maxPer)
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -376,7 +376,7 @@ class PFPGrowth(_ab._periodicFrequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -557,7 +557,7 @@ def _convert(self, value) -> int:
value = int(value)
return value
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self) -> None:
"""
Mining process will start from this function
@@ -717,7 +717,7 @@ def printResults(self) -> None:
_ap = PFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = PFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
@@ -750,7 +750,7 @@ def printResults(self) -> None:
obj = alg.PFPGrowth(iFile, minSup, maxPer)
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
diff --git a/PAMI/periodicFrequentPattern/basic/abstract.py b/PAMI/periodicFrequentPattern/basic/abstract.py
index dbd6d0b7..b0c3bee2 100644
--- a/PAMI/periodicFrequentPattern/basic/abstract.py
+++ b/PAMI/periodicFrequentPattern/basic/abstract.py
@@ -65,7 +65,7 @@ class _periodicFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/periodicFrequentPattern/basic/parallelPFPGrowth.py b/PAMI/periodicFrequentPattern/basic/parallelPFPGrowth.py
index d09ff27d..da88587b 100644
--- a/PAMI/periodicFrequentPattern/basic/parallelPFPGrowth.py
+++ b/PAMI/periodicFrequentPattern/basic/parallelPFPGrowth.py
@@ -8,7 +8,7 @@
#
# obj = alg.parallelPFPGrowth(iFile, minSup, maxPer, numWorkers, sep='\t')
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -379,7 +379,7 @@ class parallelPFPGrowth(_ab._periodicFrequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -429,7 +429,7 @@ class parallelPFPGrowth(_ab._periodicFrequentPatterns):
obj = alg.parallelPFPGrowth(iFile, minSup, maxPer, numWorkers, sep='\t')
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
@@ -617,7 +617,7 @@ def __convert(self, value):
value = int(value)
return value
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Start the mining process
@@ -761,7 +761,7 @@ def printResults(self):
_ab._sys.argv[6])
if len(_ab._sys.argv) == 4:
_ap = parallelPFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
print("Total number of Frequent Patterns:", _ab.getPatterns())
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
@@ -769,7 +769,7 @@ def printResults(self):
print("Total ExecutionTime in ms:", _ap.getRuntime())
else:
_ap = parallelPFPGrowth('Temporal_T10I4D100K.csv', 100, 5000, 5, '\t')
- _ap.startMine()
+ _ap.mine()
# print("Total number of Frequent Patterns:", len( _ab.getPatterns()))
# _ap.save(_ab._sys.argv[2])
_ap.printResults()
diff --git a/PAMI/periodicFrequentPattern/closed/CPFPMiner.py b/PAMI/periodicFrequentPattern/closed/CPFPMiner.py
index ae243ae2..fd785c52 100644
--- a/PAMI/periodicFrequentPattern/closed/CPFPMiner.py
+++ b/PAMI/periodicFrequentPattern/closed/CPFPMiner.py
@@ -9,7 +9,7 @@
#
# obj = alg.CPFPMiner("../basic/sampleTDB.txt", "2", "6")
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -114,7 +114,7 @@ class CPFPMiner(_ab._periodicFrequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -158,7 +158,7 @@ class CPFPMiner(_ab._periodicFrequentPatterns):
obj = alg.CPFPMiner("../basic/sampleTDB.txt", "2", "6")
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
@@ -450,7 +450,7 @@ def _processEquivalenceClass(self, prefix, itemSets, tidSets):
self._processEquivalenceClass(newPrefix, classItemSets, classTidSets)
self._save(prefix, list(set(itemSetX)), tidSetX)
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Mining process will start from here
@@ -627,7 +627,7 @@ def printResults(self):
_ap = CPFPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = CPFPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Closed Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/periodicFrequentPattern/closed/abstract.py b/PAMI/periodicFrequentPattern/closed/abstract.py
index f70034cb..99907697 100644
--- a/PAMI/periodicFrequentPattern/closed/abstract.py
+++ b/PAMI/periodicFrequentPattern/closed/abstract.py
@@ -65,7 +65,7 @@ class _periodicFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/periodicFrequentPattern/cuda/abstract.py b/PAMI/periodicFrequentPattern/cuda/abstract.py
index 05976030..5f4a325c 100644
--- a/PAMI/periodicFrequentPattern/cuda/abstract.py
+++ b/PAMI/periodicFrequentPattern/cuda/abstract.py
@@ -66,7 +66,7 @@ class _periodicFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/periodicFrequentPattern/cuda/cuGPFMiner.py b/PAMI/periodicFrequentPattern/cuda/cuGPFMiner.py
index 87a46eb0..a2d3cc93 100644
--- a/PAMI/periodicFrequentPattern/cuda/cuGPFMiner.py
+++ b/PAMI/periodicFrequentPattern/cuda/cuGPFMiner.py
@@ -8,7 +8,7 @@
#
# obj = alg.cuGPFMiner("../basic/sampleTDB.txt", "2", "5")
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -124,7 +124,7 @@ class cuGPFMiner(_ab._periodicFrequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -164,7 +164,7 @@ class cuGPFMiner(_ab._periodicFrequentPatterns):
obj = alg.cuGPFMiner("../basic/sampleTDB.txt", "2", "5")
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
@@ -393,7 +393,7 @@ def _creatingOneItemSets(self):
return newArraysAndItems
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Mining process will start from here
@@ -634,7 +634,7 @@ def printResults(self):
_ap = cuGPFMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = cuGPFMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
@@ -647,7 +647,7 @@ def printResults(self):
_ap = cuGPFMiner("/home/tarun/Temporal_T10I4D100K.csv", 50, 10000, "\t")
# _ap = cuGPFMiner("/home/tarun/PAMI/PAMI/periodicFrequentPattern/cuda/test.txt", 1, 10, " ")
- _ap.startMine()
+ _ap.mine()
print("Total number of Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save("tarun.txt")
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/periodicFrequentPattern/cuda/gPFMinerBit.py b/PAMI/periodicFrequentPattern/cuda/gPFMinerBit.py
index a8c32fa4..f020688e 100644
--- a/PAMI/periodicFrequentPattern/cuda/gPFMinerBit.py
+++ b/PAMI/periodicFrequentPattern/cuda/gPFMinerBit.py
@@ -356,7 +356,7 @@ def __generateBitArray(self, fileData):
cuda.memcpy_htod(gpuBitArray, bitValues)
return gpuBitArray, index2id
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Start the mining process
@@ -516,7 +516,7 @@ def savePatterns(self, fileName):
# support = 50
# maxPeriod = 25000
# obj = gPFMinerBit(filePath, support, maxPeriod, sep)
- # obj.startMine()
+ # obj.mine()
# print("Time: ", obj.getRuntime())
# print("Patterns: ", len(obj.getPatterns()))
# print("GPU MEM: ", obj.getGPUMemory())
@@ -531,7 +531,7 @@ def savePatterns(self, fileName):
sep = sys.argv[4]
output = sys.argv[5]
obj = gPFMinerBit(filePath, support, maxPeriod, sep)
- obj.startMine()
+ obj.mine()
obj.savePatterns(output)
print("Time: ", obj.getRuntime())
print("Patterns: ", len(obj.getPatterns()))
diff --git a/PAMI/periodicFrequentPattern/maximal/MaxPFGrowth.py b/PAMI/periodicFrequentPattern/maximal/MaxPFGrowth.py
index 8ff97985..c40a21c1 100644
--- a/PAMI/periodicFrequentPattern/maximal/MaxPFGrowth.py
+++ b/PAMI/periodicFrequentPattern/maximal/MaxPFGrowth.py
@@ -5,7 +5,7 @@
#
# obj = alg.MaxPFGrowth("../basic/sampleTDB.txt", "2", "6")
#
-# obj.startMine()
+# obj.mine()
#
# Patterns = obj.getPatterns()
#
@@ -451,7 +451,7 @@ class MaxPFGrowth(_ab._periodicFrequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -473,7 +473,7 @@ class MaxPFGrowth(_ab._periodicFrequentPatterns):
update the Databases by removing aperiodic items and sort the Database by item decreased support
buildTree()
after updating the Databases ar added into the tree by setting root node as null
- startMine()
+ mine()
the main method to run the program
**Executing the code on terminal:**
@@ -500,7 +500,7 @@ class MaxPFGrowth(_ab._periodicFrequentPatterns):
obj = alg.MaxPFGrowth("../basic/sampleTDB.txt", "2", "6")
- obj.startMine()
+ obj.mine()
Patterns = obj.getPatterns()
@@ -682,7 +682,7 @@ def _convert(self, value: Union[int, float, str]) -> Union[int, float]:
value = int(value)
return value
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self) -> None:
"""
Mining process will start from this function
@@ -848,7 +848,7 @@ def printResults(self) -> None:
_ap = MaxPFGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = MaxPFGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Maximal Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
@@ -857,7 +857,7 @@ def printResults(self) -> None:
else:
for i in [100, 200, 300, 400, 500]:
_ap = MaxPFGrowth('/Users/Likhitha/Downloads/temporal_T10I4D100K.csv', i, 5000, '\t')
- _ap.startMine()
+ _ap.mine()
print("Total number of Maximal Partial Periodic Patterns:", len(_ap.getPatterns()))
_ap.save('/Users/Likhitha/Downloads/output.txt')
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/periodicFrequentPattern/maximal/abstract.py b/PAMI/periodicFrequentPattern/maximal/abstract.py
index 7c83dca8..8ff0d76a 100644
--- a/PAMI/periodicFrequentPattern/maximal/abstract.py
+++ b/PAMI/periodicFrequentPattern/maximal/abstract.py
@@ -65,7 +65,7 @@ class _periodicFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/periodicFrequentPattern/pyspark/abstract.py b/PAMI/periodicFrequentPattern/pyspark/abstract.py
index 899df8f3..dc88841d 100644
--- a/PAMI/periodicFrequentPattern/pyspark/abstract.py
+++ b/PAMI/periodicFrequentPattern/pyspark/abstract.py
@@ -43,7 +43,7 @@ class _periodicFrequentPatterns(_ABC):
To store the total amount of RSS memory consumed by the program
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/periodicFrequentPattern/pyspark/parallelPFPGrowth.py b/PAMI/periodicFrequentPattern/pyspark/parallelPFPGrowth.py
index 42cb2b24..6ebbdfc2 100644
--- a/PAMI/periodicFrequentPattern/pyspark/parallelPFPGrowth.py
+++ b/PAMI/periodicFrequentPattern/pyspark/parallelPFPGrowth.py
@@ -8,7 +8,7 @@
#
# obj = alg.parallelPFPGrowth(iFile, minSup, maxPer, numWorkers, sep='\t')
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -442,7 +442,7 @@ def printResults(self):
if len(sys.argv) == 6:
inputData = sys.argv[1] if sys.argv[1].lower().endswith('.txt') else sc.textFile(sys.argv[1])
pp_fp = Parallel_PPFP(inputData, sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5])
- pp_fp.startMine()
+ pp_fp.mine()
finalPatterns = pp_fp.getPatterns()
print("Total number of Periodic Frequent Patterns:", len(finalPatterns))
pp_fp.save(sys.argv[2])
diff --git a/PAMI/periodicFrequentPattern/pyspark/parallelPFPGrowth_old.py b/PAMI/periodicFrequentPattern/pyspark/parallelPFPGrowth_old.py
index 2688093a..5c7a4443 100644
--- a/PAMI/periodicFrequentPattern/pyspark/parallelPFPGrowth_old.py
+++ b/PAMI/periodicFrequentPattern/pyspark/parallelPFPGrowth_old.py
@@ -6,7 +6,7 @@
#
# obj = alg.parallelPFPGrowth(iFile, minSup, maxPer, noWorkers)
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -374,7 +374,7 @@ class parallelPFPGrowth(_ab._periodicFrequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -426,7 +426,7 @@ class parallelPFPGrowth(_ab._periodicFrequentPatterns):
obj = alg.parallelPFPGrowth(iFile, minSup, maxPer)
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
@@ -623,7 +623,7 @@ def __convert(self, value):
value = int(value)
return value
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Start the mining process
@@ -767,7 +767,7 @@ def printResults(self):
_ab._sys.argv[6])
if len(_ab._sys.argv) == 4:
_ap = parallelPFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
print("Total number of Frequent Patterns:", _ab.getPatterns())
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
@@ -775,7 +775,7 @@ def printResults(self):
print("Total ExecutionTime in ms:", _ap.getRuntime())
else:
_ap = parallelPFPGrowth('Temporal_T10I4D100K.csv', 500, 5000, 5, '\t')
- _ap.startMine()
+ _ap.mine()
# print("Total number of Frequent Patterns:", len( _ab.getPatterns()))
# _ap.save(_ab._sys.argv[2])
_ap.printResults()
diff --git a/PAMI/periodicFrequentPattern/topk/TopkPFP/TopkPFP.py b/PAMI/periodicFrequentPattern/topk/TopkPFP/TopkPFP.py
index d3b3c23c..98999aed 100644
--- a/PAMI/periodicFrequentPattern/topk/TopkPFP/TopkPFP.py
+++ b/PAMI/periodicFrequentPattern/topk/TopkPFP/TopkPFP.py
@@ -6,7 +6,7 @@
#
# obj = alg.TopkPFPGrowth(iFile, k, maxPer,oFile)
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -96,7 +96,7 @@ class TopkPFPGrowth(_ab._periodicFrequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -141,7 +141,7 @@ class TopkPFPGrowth(_ab._periodicFrequentPatterns):
obj = alg.TopkPFPGrowth(iFile, k, maxPer)
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
@@ -377,7 +377,7 @@ def _Generation(self, prefix, itemSets, tidSets):
self._Generation(newPrefix, classItemSets, classTidSets)
self._save(prefix, list(set(itemSetX)), tidSetI)
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Main function of the program
@@ -522,7 +522,7 @@ def printResults(self):
_ap = TopkPFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = TopkPFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Top K Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/periodicFrequentPattern/topk/TopkPFP/abstract.py b/PAMI/periodicFrequentPattern/topk/TopkPFP/abstract.py
index dc8ebe79..1b3d7b44 100644
--- a/PAMI/periodicFrequentPattern/topk/TopkPFP/abstract.py
+++ b/PAMI/periodicFrequentPattern/topk/TopkPFP/abstract.py
@@ -61,7 +61,7 @@ class _periodicFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/periodicFrequentPattern/topk/kPFPMiner/abstract.py b/PAMI/periodicFrequentPattern/topk/kPFPMiner/abstract.py
index 28d99687..07108620 100644
--- a/PAMI/periodicFrequentPattern/topk/kPFPMiner/abstract.py
+++ b/PAMI/periodicFrequentPattern/topk/kPFPMiner/abstract.py
@@ -57,7 +57,7 @@ class _periodicFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/periodicFrequentPattern/topk/kPFPMiner/kPFPMiner.py b/PAMI/periodicFrequentPattern/topk/kPFPMiner/kPFPMiner.py
index ea8e290f..f7a0ceb7 100644
--- a/PAMI/periodicFrequentPattern/topk/kPFPMiner/kPFPMiner.py
+++ b/PAMI/periodicFrequentPattern/topk/kPFPMiner/kPFPMiner.py
@@ -6,7 +6,7 @@
#
# obj = alg.kPFPMiner(iFile, k)
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -97,7 +97,7 @@ class kPFPMiner(_ab._periodicFrequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -143,7 +143,7 @@ class kPFPMiner(_ab._periodicFrequentPatterns):
obj = alg.kPFPMiner(iFile, k)
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
@@ -502,7 +502,7 @@ def printResults(self):
_ap = kPFPMiner(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = kPFPMiner(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_Patterns = _ap.getPatterns()
print("Total number of top-k periodic frequent patterns:", len(_Patterns))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/recurringPattern/basic/RPGrowth.py b/PAMI/recurringPattern/basic/RPGrowth.py
index 3b1d6bca..08d25168 100644
--- a/PAMI/recurringPattern/basic/RPGrowth.py
+++ b/PAMI/recurringPattern/basic/RPGrowth.py
@@ -7,7 +7,7 @@
#
# obj = alg.RPGrowth(iFile, maxPer, minPS, minRec)
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -329,7 +329,6 @@ class RPGrowth(_ab._recurringPatterns):
"""
:Description: RPGrowth is one of the fundamental algorithm to discover recurring patterns in a transactional database.
-
:Reference: R. Uday Kiran†, Haichuan Shang†, Masashi Toyoda† and Masaru Kitsuregawa† Discovering Recurring Patterns in Time Series,https://www.tkl.iis.u-tokyo.ac.jp/new/uploads/publication_file/file/693/Paper%2023.pdf
:param iFile: str :
@@ -389,7 +388,7 @@ class RPGrowth(_ab._recurringPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -438,7 +437,7 @@ class RPGrowth(_ab._recurringPatterns):
obj = alg.RPGrowth(iFile, maxPer, minPS, minRec)
- obj.startMine()
+ obj.mine()
periodicFrequentPatterns = obj.getPatterns()
@@ -623,7 +622,7 @@ def _convert(self, value):
value = int(value)
return value
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Mining process will start from this function
@@ -656,7 +655,7 @@ def startMine(self):
self._memoryRSS = process.memory_info().rss
print("Recurring patterns were generated successfully using RPGrowth algorithm ")
- def Mine(self):
+ def mine(self):
"""
Mining process will start from this function
"""
@@ -785,7 +784,7 @@ def printResults(self):
_ap = RPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5], _ab._sys.argv[6])
if len(_ab._sys.argv) == 6:
_ap = RPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
print("Total number of Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/recurringPattern/basic/abstract.py b/PAMI/recurringPattern/basic/abstract.py
index 43d44d21..f2a6054f 100644
--- a/PAMI/recurringPattern/basic/abstract.py
+++ b/PAMI/recurringPattern/basic/abstract.py
@@ -66,7 +66,7 @@ class _recurringPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/relativeFrequentPattern/basic/RSFPGrowth.py b/PAMI/relativeFrequentPattern/basic/RSFPGrowth.py
index 615e1dca..bfb1f898 100644
--- a/PAMI/relativeFrequentPattern/basic/RSFPGrowth.py
+++ b/PAMI/relativeFrequentPattern/basic/RSFPGrowth.py
@@ -8,7 +8,7 @@
#
# obj = alg.RSFPGrowth(iFile, minSup, __minRatio)
#
-# obj.startMine()
+# obj.mine()
#
# frequentPatterns = obj.getPatterns()
#
@@ -308,7 +308,7 @@ class RSFPGrowth(_ab._frequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getFrequentPatterns()
Complete set of patterns will be retrieved with this function
@@ -362,7 +362,7 @@ class RSFPGrowth(_ab._frequentPatterns):
obj = alg.RSFPGrowth(iFile, minSup, __minRatio)
- obj.startMine()
+ obj.mine()
frequentPatterns = obj.getPatterns()
@@ -601,7 +601,7 @@ def __convert(self, value: Union[int, float, str]) -> float:
value = int(value)
return value
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self) -> None:
"""
Main program to start the operation
@@ -787,7 +787,7 @@ def printResults(self) -> None:
_ap = RSFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = RSFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/relativeFrequentPattern/basic/abstract.py b/PAMI/relativeFrequentPattern/basic/abstract.py
index 9611c6d0..3178e4ef 100644
--- a/PAMI/relativeFrequentPattern/basic/abstract.py
+++ b/PAMI/relativeFrequentPattern/basic/abstract.py
@@ -42,7 +42,7 @@ class _frequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getFrequentPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/relativeHighUtilityPattern/basic/RHUIM.py b/PAMI/relativeHighUtilityPattern/basic/RHUIM.py
index 976bfbd5..a94c65d9 100644
--- a/PAMI/relativeHighUtilityPattern/basic/RHUIM.py
+++ b/PAMI/relativeHighUtilityPattern/basic/RHUIM.py
@@ -8,7 +8,7 @@
#
# obj = alg.RHUIM("input.txt", 35, 20)
#
-# obj.startMine()
+# obj.mine()
#
# frequentPatterns = obj.getPatterns()
#
@@ -357,7 +357,7 @@ class RHUIM(_ab._utilityPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -413,7 +413,7 @@ class RHUIM(_ab._utilityPatterns):
obj=alg.RHUIM("input.txt", 35, 20)
- obj.startMine()
+ obj.mine()
frequentPatterns = obj.getPatterns()
@@ -861,7 +861,7 @@ def printResults(self) -> None:
_ap = RHUIM(_ab._sys.argv[1], int(_ab._sys.argv[3]), float(_ab._sys.argv[4]), _ab._sys.argv[5])
if len(_ab._sys.argv) == 5: #takes "\t" as a separator
_ap = RHUIM(_ab._sys.argv[1], int(_ab._sys.argv[3]), float(_ab._sys.argv[4]))
- _ap.startMine()
+ _ap.mine()
print("Total number of Relative High Utility Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
@@ -869,7 +869,7 @@ def printResults(self) -> None:
print("Total ExecutionTime in seconds:", _ap.getRuntime())
else:
_ap = RHUIM('/Users/likhitha/Downloads/utility_datasets/Utility_T10I4D100K.csv', 150000, 0.6, '\t')
- _ap.startMine()
+ _ap.mine()
print("Total number of Relative High Utility Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/relativeHighUtilityPattern/basic/abstract.py b/PAMI/relativeHighUtilityPattern/basic/abstract.py
index d9f58afd..58d29bac 100644
--- a/PAMI/relativeHighUtilityPattern/basic/abstract.py
+++ b/PAMI/relativeHighUtilityPattern/basic/abstract.py
@@ -73,7 +73,7 @@ class _utilityPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/relativeHighUtilityPattern/parallel/cuREFIM.py b/PAMI/relativeHighUtilityPattern/parallel/cuREFIM.py
index 8b637fce..0e615363 100644
--- a/PAMI/relativeHighUtilityPattern/parallel/cuREFIM.py
+++ b/PAMI/relativeHighUtilityPattern/parallel/cuREFIM.py
@@ -8,7 +8,7 @@
#
# obj = alg.cuREFIM(iFile, minUtil, ratio, '\t')
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -171,7 +171,7 @@ class GPUEFIM:
read_file(): Read the input file and return the filtered transactions, primary items, and secondary items.
search(collections): Search for high utility itemsets in the given collections.
- startMine(): Start the EFIM algorithm.
+ mine(): Start the EFIM algorithm.
savePatterns(outputFile): Save the patterns discovered by the algorithm to an output file.
getPatterns(): Get the patterns discovered by the algorithm.
getRuntime(): Get the runtime of the algorithm.
@@ -416,7 +416,7 @@ def savePatterns(self, outputFile):
joined = " ".join(key) + " #UTIL: " + str(value) + "\n"
f.write(joined)
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Start the EFIM algorithm.
@@ -539,7 +539,7 @@ def printResults(self):
sep = "\t"
f = GPUEFIM(inputFile, minUtil, ratio, sep)
- f.startMine()
+ f.mine()
f.savePatterns("output.txt")
print("# of patterns: " + str(len(f.getPatterns())))
print("Time taken: " + str(f.getRuntime()))
diff --git a/PAMI/relativeHighUtilityPattern/parallel/parallelRHUIM.py b/PAMI/relativeHighUtilityPattern/parallel/parallelRHUIM.py
index 690dfb6a..41bcc661 100644
--- a/PAMI/relativeHighUtilityPattern/parallel/parallelRHUIM.py
+++ b/PAMI/relativeHighUtilityPattern/parallel/parallelRHUIM.py
@@ -8,7 +8,7 @@
#
# obj = alg.parallelRHUIM(iFile, minUtil, ratio, '\t')
#
-# obj.startMine()
+# obj.mine()
#
# periodicFrequentPatterns = obj.getPatterns()
#
@@ -99,7 +99,7 @@ class efimParallel(_ab._utilityPatterns):
binarySearch(arr, item): Perform a binary search on the given array to find the given item.
project(beta, file_data, secondary): Project the given beta itemset on the given database.
search(collections): Search for high utility itemsets in the given collections.
- startMine(): Start the EFIM algorithm.
+ mine(): Start the EFIM algorithm.
savePatterns(outputFile): Save the patterns discovered by the algorithm to an output file.
getPatterns(): Get the patterns discovered by the algorithm.
getRuntime(): Get the runtime of the algorithm.
@@ -380,7 +380,7 @@ def _search(self, collections):
collections = new_collections
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Start the EFIM algorithm.
@@ -516,7 +516,7 @@ def printResults(self):
# sep = " "
# f = efimParallel(inputFile, minUtil, sep, 1)
- # f.startMine()
+ # f.mine()
# print("# of patterns: " + str(len(f.getPatterns())))
# print("Time taken: " + str(f.getRuntime()))
# f.savePatterns("mine.txt")
@@ -528,7 +528,7 @@ def printResults(self):
_ap = efimParallel(_ab._sys.argv[1], int(_ab._sys.argv[3]), _ab._sys.argv[4])
if len(_ab._sys.argv) == 4: #takes "\t" as a separator
_ap = efimParallel(_ab._sys.argv[1], int(_ab._sys.argv[3]))
- _ap.startMine()
+ _ap.mine()
print("Total number of High Utility Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
print("Total Memory in USS:", _ap.getMemoryUSS())
@@ -536,7 +536,7 @@ def printResults(self):
print("Total ExecutionTime in seconds:", _ap.getRuntime())
else:
_ap = efimParallel('Utility_T10I4D100K.csv', 150000, 0.1, '\t', 10)
- _ap.startMine()
+ _ap.mine()
print("Total number of High Utility Patterns:", len(_ap.getPatterns()))
_ap.save('UPGrowth_output.txt')
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/sequentialPattern/basic/GSP.py b/PAMI/sequentialPattern/basic/GSP.py
index 7dab24b3..0e4c3d36 100644
--- a/PAMI/sequentialPattern/basic/GSP.py
+++ b/PAMI/sequentialPattern/basic/GSP.py
@@ -117,7 +117,7 @@ class GSP(_ab._sequentialPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/sequentialPattern/basic/PrefixSpan.py b/PAMI/sequentialPattern/basic/PrefixSpan.py
index 68644923..70b0d580 100644
--- a/PAMI/sequentialPattern/basic/PrefixSpan.py
+++ b/PAMI/sequentialPattern/basic/PrefixSpan.py
@@ -10,7 +10,7 @@
#
# obj = alg.prefixSpan(iFile, minSup,oFile,sep)
#
-# obj.startMine()
+# obj.mine()
#
# frequentPatterns = obj.getPatterns()
#
@@ -109,7 +109,7 @@ class PrefixSpan(_ab._sequentialPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -153,7 +153,7 @@ class PrefixSpan(_ab._sequentialPatterns):
obj = alg.PrefixSpan(iFile, minSup)
- obj.startMine()
+ obj.mine()
frequentPatterns = obj.getPatterns()
diff --git a/PAMI/sequentialPattern/basic/PrefixSpanPlus.py b/PAMI/sequentialPattern/basic/PrefixSpanPlus.py
index 847919c8..a108f7d9 100644
--- a/PAMI/sequentialPattern/basic/PrefixSpanPlus.py
+++ b/PAMI/sequentialPattern/basic/PrefixSpanPlus.py
@@ -62,7 +62,7 @@ class PrefixSpanPlus(_ab._sequentialPatterns):
Methods:
-------
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/sequentialPattern/basic/SPADE.py b/PAMI/sequentialPattern/basic/SPADE.py
index dc661a6a..b1b9d352 100644
--- a/PAMI/sequentialPattern/basic/SPADE.py
+++ b/PAMI/sequentialPattern/basic/SPADE.py
@@ -11,7 +11,7 @@
#
# obj = alg.SPADE(iFile, minSup)
#
-# obj.startMine()
+# obj.mine()
#
# sequentialPatternMining = obj.getPatterns()
#
@@ -117,7 +117,7 @@ class SPADE(_ab._sequentialPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/sequentialPattern/basic/SPADEPlus.py b/PAMI/sequentialPattern/basic/SPADEPlus.py
index aee768e5..396c0ce9 100644
--- a/PAMI/sequentialPattern/basic/SPADEPlus.py
+++ b/PAMI/sequentialPattern/basic/SPADEPlus.py
@@ -11,7 +11,7 @@
#
# obj = alg.SPADEPlus(iFile, minSup,maxGap=**,maxLen=**)
#
-# obj.startMine()
+# obj.mine()
#
# sequentialPatternMining = obj.getPatterns()
#
@@ -122,7 +122,7 @@ class SPADEPlus(_ab._sequentialPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -165,7 +165,7 @@ class SPADEPlus(_ab._sequentialPatterns):
obj = alg.SPADE(iFile, minSup)
- obj.startMine()
+ obj.mine()
sequentialPatternMining = obj.getPatterns()
diff --git a/PAMI/sequentialPattern/basic/SPAM.py b/PAMI/sequentialPattern/basic/SPAM.py
index 4631ed4c..b262aed6 100644
--- a/PAMI/sequentialPattern/basic/SPAM.py
+++ b/PAMI/sequentialPattern/basic/SPAM.py
@@ -9,7 +9,7 @@
#
# obj = alg.SPAM(iFile, minSup)
#
-# obj.startMine()
+# obj.mine()
#
# sequentialPatternMining = obj.getPatterns()
#
@@ -123,7 +123,7 @@ class SPAM(_ab._sequentialPatterns):
the main algorithm of spam. This can search sstep and istep items and find next patterns, its sstep, and its istep. And call this function again by using them. Recursion until there are no more items available for exploration.
Sstep(s):
To convert bit to ssteo bit.The first time you get 1, you set it to 0 and subsequent ones to 1.(like 010101=>001111, 00001001=>00000111)
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/sequentialPattern/basic/abstract.py b/PAMI/sequentialPattern/basic/abstract.py
index c8a84abe..2eeed6f4 100644
--- a/PAMI/sequentialPattern/basic/abstract.py
+++ b/PAMI/sequentialPattern/basic/abstract.py
@@ -76,7 +76,7 @@ class _sequentialPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/sequentialPattern/basic/bitSPADE.py b/PAMI/sequentialPattern/basic/bitSPADE.py
index 158df543..a3972419 100644
--- a/PAMI/sequentialPattern/basic/bitSPADE.py
+++ b/PAMI/sequentialPattern/basic/bitSPADE.py
@@ -117,7 +117,7 @@ class bitSPADE(_ab._sequentialPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -649,7 +649,7 @@ def makeNextRowSame3(self, bs, latestWord, latestWord2):
bs2 = bs + (x2,)
return bs2,bs,x2
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Frequent pattern mining process will start from here
diff --git a/PAMI/sequentialPattern/closed/abstract.py b/PAMI/sequentialPattern/closed/abstract.py
index 605879a1..94f3c3e1 100644
--- a/PAMI/sequentialPattern/closed/abstract.py
+++ b/PAMI/sequentialPattern/closed/abstract.py
@@ -72,7 +72,7 @@ class _frequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/sequentialSpatialPattern/basic/abstract.py b/PAMI/sequentialSpatialPattern/basic/abstract.py
index ed10b0cb..803bf02f 100644
--- a/PAMI/sequentialSpatialPattern/basic/abstract.py
+++ b/PAMI/sequentialSpatialPattern/basic/abstract.py
@@ -72,7 +72,7 @@ class _sequentialSpatialPatterns(_ABC):
To store the total amount of RSS memory consumed by the program
Methods :
-------
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/sequentialSpatialPattern/basic/spatialPrefixSpan.py b/PAMI/sequentialSpatialPattern/basic/spatialPrefixSpan.py
index 98502ed6..72fe0eb5 100644
--- a/PAMI/sequentialSpatialPattern/basic/spatialPrefixSpan.py
+++ b/PAMI/sequentialSpatialPattern/basic/spatialPrefixSpan.py
@@ -108,7 +108,7 @@ class spatialPrefixSpan(_ab._sequentialSpatialPatterns):
---------------------------------
import PAMI.frequentPattern.basic.PrefixSpan as alg
obj = alg.PrefixSpan(iFile, nFile,minSup)
- obj.startMine()
+ obj.mine()
frequentPatterns = obj.getPatterns()
print("Total number of Frequent Patterns:", len(frequentPatterns))
obj.savePatterns(oFile)
diff --git a/PAMI/stablePeriodicFrequentPattern/basic/SPPEclat.py b/PAMI/stablePeriodicFrequentPattern/basic/SPPEclat.py
index c01b709b..b8584be4 100644
--- a/PAMI/stablePeriodicFrequentPattern/basic/SPPEclat.py
+++ b/PAMI/stablePeriodicFrequentPattern/basic/SPPEclat.py
@@ -10,7 +10,7 @@
#
# obj = alg.SPPEclat("../basic/sampleTDB.txt", 5, 3, 3)
#
-# obj.startMine()
+# obj.mine()
#
# Patterns = obj.getPatterns()
#
@@ -133,7 +133,7 @@ class SPPEclat(_ab._stablePeriodicFrequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -180,7 +180,7 @@ class SPPEclat(_ab._stablePeriodicFrequentPatterns):
obj = alg.PFPECLAT("../basic/sampleTDB.txt", 5, 3, 3)
- obj.startMine()
+ obj.mine()
Patterns = obj.getPatterns()
@@ -348,7 +348,7 @@ def _calculateLa(self, tsList):
maxla = max(laList)
return maxla
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Method to start the mining of patterns
@@ -456,7 +456,7 @@ def printResults(self):
_ap = SPPEclat(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5], _ab._sys.argv[6])
if len(_ab._sys.argv) == 6:
_ap = SPPEclat(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/stablePeriodicFrequentPattern/basic/SPPGrowth.py b/PAMI/stablePeriodicFrequentPattern/basic/SPPGrowth.py
index 5bc4e6f8..074735d7 100644
--- a/PAMI/stablePeriodicFrequentPattern/basic/SPPGrowth.py
+++ b/PAMI/stablePeriodicFrequentPattern/basic/SPPGrowth.py
@@ -10,7 +10,7 @@
#
# obj = alg.SPPGrowth(iFile, minSup, maxPer, maxLa)
#
-# obj.startMine()
+# obj.mine()
#
# Patterns = obj.getPatterns()
#
@@ -339,7 +339,7 @@ class SPPGrowth():
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -387,7 +387,7 @@ class SPPGrowth():
obj = alg.topk(iFile, minSup, maxPer, maxLa)
- obj.startMine()
+ obj.mine()
Patterns = obj.getPatterns()
@@ -583,7 +583,7 @@ def _convert(self, value):
value = int(value)
return value
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Mining process will start from this function
@@ -713,7 +713,7 @@ def printResults(self):
_ap = SPPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5], _ab._sys.argv[6])
if len(_ab._sys.argv) == 6:
_ap = SPPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/stablePeriodicFrequentPattern/basic/SPPGrowthDump.py b/PAMI/stablePeriodicFrequentPattern/basic/SPPGrowthDump.py
index c3e236ba..dfec5753 100644
--- a/PAMI/stablePeriodicFrequentPattern/basic/SPPGrowthDump.py
+++ b/PAMI/stablePeriodicFrequentPattern/basic/SPPGrowthDump.py
@@ -6,7 +6,7 @@
#
# obj = alg.SPPGrowthDump(iFile, minSup, maxPer, maxLa)
#
-# obj.startMine()
+# obj.mine()
#
# Patterns = obj.getPatterns()
#
@@ -431,7 +431,7 @@ def _convert(self, value):
value = int(value)
return value
- @deprecated("It is recommended to use mine() instead of startMine() for mining process")
+ @deprecated("It is recommended to use mine() instead of mine() for mining process")
def startMine(self):
"""
Mining process will start from this function
@@ -548,7 +548,7 @@ def getPatterns(self):
_ap = SPPGrowth(sys.argv[1], sys.argv[3], sys.argv[4], sys.argv[5])
if len(sys.argv) == 5:
_ap = SPPGrowth(sys.argv[1], sys.argv[3], sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
_Patterns = _ap.getPatterns()
print("Total number of Patterns:", len(_Patterns))
@@ -562,7 +562,7 @@ def getPatterns(self):
else:
'''ap = topk('https://www.u-aizu.ac.jp/~udayrage/datasets/temporalDatabases/temporal_retail.csv', 0.001, 0.005, 0.004)
#ap = topk('/Users/likhitha/Downloads/contextPrefixSpan.txt', 3, 6, 2, ' ')
- ap.startMine()
+ ap.mine()
Patterns = ap.getPatterns()
print("Total number of Frequent Patterns:", len(Patterns))
ap.save('/Users/Likhitha/Downloads/output')
diff --git a/PAMI/stablePeriodicFrequentPattern/basic/abstract.py b/PAMI/stablePeriodicFrequentPattern/basic/abstract.py
index fd64bf3c..b1e2e918 100644
--- a/PAMI/stablePeriodicFrequentPattern/basic/abstract.py
+++ b/PAMI/stablePeriodicFrequentPattern/basic/abstract.py
@@ -70,7 +70,7 @@ class _stablePeriodicFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/stablePeriodicFrequentPattern/topK/TSPIN.py b/PAMI/stablePeriodicFrequentPattern/topK/TSPIN.py
index d4ce6298..92023882 100644
--- a/PAMI/stablePeriodicFrequentPattern/topK/TSPIN.py
+++ b/PAMI/stablePeriodicFrequentPattern/topK/TSPIN.py
@@ -8,7 +8,7 @@
#
# obj = alg.TSPIN(iFile, maxPer, maxLa, k)
#
-# obj.startMine()
+# obj.mine()
#
# stablePeriodicFrequentPatterns = obj.getPatterns()
#
@@ -373,7 +373,7 @@ class TSPIN(_ab._stablePeriodicFrequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -416,7 +416,7 @@ class TSPIN(_ab._stablePeriodicFrequentPatterns):
obj = alg.TSPIN(iFile, maxPer, maxLa, k)
- obj.startMine()
+ obj.mine()
stablePeriodicFrequentPatterns = obj.getPatterns()
@@ -726,7 +726,7 @@ def printResults(self) -> None:
_ap = TSPIN(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5], _ab._sys.argv[6])
if len(_ab._sys.argv) == 6:
_ap = TSPIN(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
_Patterns = _ap.getPatterns()
print("Total number of Patterns:", len(_Patterns))
_ap.save(_ab._sys.argv[2])
@@ -738,7 +738,7 @@ def printResults(self) -> None:
print("Total ExecutionTime in ms:", _run)
else:
_ap = TSPIN('/Users/Likhitha/Downloads/SPP_sample.txt', 5, 1, 1, ' ')
- _ap.startMine()
+ _ap.mine()
print(len(_ap._Database))
_Patterns = _ap.getPatterns()
for x, y in _Patterns.items():
diff --git a/PAMI/stablePeriodicFrequentPattern/topK/abstract.py b/PAMI/stablePeriodicFrequentPattern/topK/abstract.py
index 46ddfd0c..174c0ad6 100644
--- a/PAMI/stablePeriodicFrequentPattern/topK/abstract.py
+++ b/PAMI/stablePeriodicFrequentPattern/topK/abstract.py
@@ -70,7 +70,7 @@ class _stablePeriodicFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/uncertainFaultTolerantFrequentPattern/VBFTMine.py b/PAMI/uncertainFaultTolerantFrequentPattern/VBFTMine.py
index ba70f3be..db8837e7 100644
--- a/PAMI/uncertainFaultTolerantFrequentPattern/VBFTMine.py
+++ b/PAMI/uncertainFaultTolerantFrequentPattern/VBFTMine.py
@@ -351,7 +351,7 @@ def _oneLengthFrequentItems(self):
return Vector, items
@deprecated(
- "It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ "It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Frequent pattern mining process will start from here
@@ -493,7 +493,7 @@ def printResults(self):
_ab._sys.argv[5], _ab._sys.argv[6], _ab._sys.argv[7],)
if len(_ab._sys.argv) == 7:
_ap = VBFTMine(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5], _ab._sys.argv[6])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
@@ -502,7 +502,7 @@ def printResults(self):
print("Total ExecutionTime in ms:", _ap.getRuntime())
else:
_ap = VBFTMine('/Users/Likhitha/Downloads/fault/sample4.txt', 5, 3, 2, 1, ' ')
- _ap.startMine()
+ _ap.mine()
_ap.printResults()
print(_ap.getPatternsAsDataFrame())
print("Error! The number of input parameters do not match the total number of parameters provided")
diff --git a/PAMI/uncertainFaultTolerantFrequentPattern/abstract.py b/PAMI/uncertainFaultTolerantFrequentPattern/abstract.py
index 1ecc1687..9bd807a6 100644
--- a/PAMI/uncertainFaultTolerantFrequentPattern/abstract.py
+++ b/PAMI/uncertainFaultTolerantFrequentPattern/abstract.py
@@ -75,7 +75,7 @@ class _faultTolerantFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/uncertainFrequentPattern/basic/CUFPTree.py b/PAMI/uncertainFrequentPattern/basic/CUFPTree.py
index dd0f6c5e..545b5025 100644
--- a/PAMI/uncertainFrequentPattern/basic/CUFPTree.py
+++ b/PAMI/uncertainFrequentPattern/basic/CUFPTree.py
@@ -421,7 +421,7 @@ class CUFPTree(_ab._frequentPatterns):
After updating the Database, remaining items will be added into the tree by setting root node as null
convert()
to convert the user specified value
- startMine()
+ mine()
Mining process will start from this function
Execution methods
@@ -690,7 +690,7 @@ def _removeFalsePositives(self) -> None:
self._finalPatterns[sample] = y
@deprecated(
- "It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ "It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Main method where the patterns are mined by constructing tree and remove the false patterns by counting the original support of a patterns.
@@ -817,7 +817,7 @@ def printResults(self) -> None:
_ap = CUFPTree(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = CUFPTree(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Uncertain Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/uncertainFrequentPattern/basic/PUFGrowth.py b/PAMI/uncertainFrequentPattern/basic/PUFGrowth.py
index 8922bacf..3364b080 100644
--- a/PAMI/uncertainFrequentPattern/basic/PUFGrowth.py
+++ b/PAMI/uncertainFrequentPattern/basic/PUFGrowth.py
@@ -395,7 +395,7 @@ class PUFGrowth(_ab._frequentPatterns):
After updating the Database, remaining items will be added into the tree by setting root node as null
convert()
to convert the user specified value
- startMine()
+ mine()
Mining process will start from this function
Execution methods
@@ -429,7 +429,7 @@ class PUFGrowth(_ab._frequentPatterns):
obj = alg.PUFGrowth(iFile, minSup)
- obj.startmine()
+ obj.mine()
frequentPatterns = obj.getPatterns()
@@ -658,7 +658,7 @@ def _removeFalsePositives(self) -> None:
sample = sample + i + "\t"
self._finalPatterns[sample] = y
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Main method where the patterns are mined by constructing tree and remove the false patterns by counting the original support of a patterns
@@ -779,7 +779,7 @@ def printResults(self) -> None:
_ap = PUFGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = PUFGrowth(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Uncertain Frequent Patterns:", _ap.getPatterns())
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/uncertainFrequentPattern/basic/TUFP.py b/PAMI/uncertainFrequentPattern/basic/TUFP.py
index 0b65be88..d39abcf4 100644
--- a/PAMI/uncertainFrequentPattern/basic/TUFP.py
+++ b/PAMI/uncertainFrequentPattern/basic/TUFP.py
@@ -11,7 +11,7 @@
#
# obj = alg.TUFP(iFile, minSup)
#
-# obj.startMine()
+# obj.mine()
#
# frequentPatterns = obj.getPatterns()
#
@@ -161,7 +161,7 @@ class TUFP(_ab._frequentPatterns):
After updating the Database, remaining items will be added into the tree by setting root node as null
convert()
to convert the user specified value
- startMine()
+ mine()
Mining process will start from this function
Execution methods
@@ -196,7 +196,7 @@ class TUFP(_ab._frequentPatterns):
obj = alg.TUFP(iFile, minSup)
- obj.startMine()
+ obj.mine()
frequentPatterns = obj.getPatterns()
@@ -419,7 +419,7 @@ def _Generation(self, prefix: List[str], itemSets: List[str], tidSets: List[Dict
self._Generation(newPrefix, classItemSets, classTidSets)
# self.save(prefix, list(set(itemSetX)), tidSetI)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Main method where the patterns are mined by constructing tree and remove the false patterns by counting the original support of a patterns
@@ -547,7 +547,7 @@ def printResults(self) -> None:
_ap = TUFP(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = TUFP(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
_Patterns = _ap.getPatterns()
print("Total number of Patterns:", len(_Patterns))
@@ -560,7 +560,7 @@ def printResults(self) -> None:
print("Total ExecutionTime in ms:", _run)
else:
'''ap = TUFP("/home/apiiit-rkv/Desktop/uncertain/tubeSample", 10, ' ')
- ap.startMine()
+ ap.mine()
Patterns = ap.getPatterns()
print("Total number of Patterns:", len(Patterns))
ap.save("patterns.txt")
diff --git a/PAMI/uncertainFrequentPattern/basic/TubeP.py b/PAMI/uncertainFrequentPattern/basic/TubeP.py
index b3ba4691..33c10403 100644
--- a/PAMI/uncertainFrequentPattern/basic/TubeP.py
+++ b/PAMI/uncertainFrequentPattern/basic/TubeP.py
@@ -161,7 +161,7 @@ class TUFP(_ab._frequentPatterns):
After updating the Database, remaining items will be added into the tree by setting root node as null
convert()
to convert the user specified value
- startMine()
+ mine()
Mining process will start from this function
Execution methods
@@ -418,7 +418,7 @@ def _Generation(self, prefix: List[str], itemSets: List[str], tidSets: List[Dict
self._Generation(newPrefix, classItemSets, classTidSets)
#self.save(prefix, list(set(itemSetX)), tidSetI)
- @deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ @deprecated("It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Main method where the patterns are mined by constructing tree and remove the false patterns by counting the original support of a patterns
@@ -547,7 +547,7 @@ def printResults(self) -> None:
_ap = TUFP(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = TUFP(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
_Patterns = _ap.getPatterns()
print("Total number of Patterns:", len(_Patterns))
@@ -560,7 +560,7 @@ def printResults(self) -> None:
print("Total ExecutionTime in ms:", _run)
else:
'''ap = TUFP("/home/apiiit-rkv/Desktop/uncertain/tubeSample", 10, ' ')
- ap.startMine()
+ ap.mine()
Patterns = ap.getPatterns()
print("Total number of Patterns:", len(Patterns))
ap.save("patterns.txt")
diff --git a/PAMI/uncertainFrequentPattern/basic/UFGrowth.py b/PAMI/uncertainFrequentPattern/basic/UFGrowth.py
index d40ef55a..f01f2ad6 100644
--- a/PAMI/uncertainFrequentPattern/basic/UFGrowth.py
+++ b/PAMI/uncertainFrequentPattern/basic/UFGrowth.py
@@ -340,7 +340,7 @@ class UFGrowth(_ab._frequentPatterns):
After updating the Database, remaining items will be added into the tree by setting root node as null
convert()
to convert the user specified value
- startMine()
+ mine()
Mining process will start from this function
Execution methods
@@ -604,7 +604,7 @@ def _convert(self, value):
return value
@deprecated(
- "It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ "It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Main method where the patterns are mined by constructing tree and remove the false patterns by counting the original support of a patterns
@@ -733,7 +733,7 @@ def printResults(self):
_ap = UFGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
if len(_ab._sys.argv) == 4:
_ap = UFGrowth(_ab._sys.argv[1], _ab._sys.argv[3])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Uncertain Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/uncertainFrequentPattern/basic/abstract.py b/PAMI/uncertainFrequentPattern/basic/abstract.py
index c3d10a6c..cdcc834f 100644
--- a/PAMI/uncertainFrequentPattern/basic/abstract.py
+++ b/PAMI/uncertainFrequentPattern/basic/abstract.py
@@ -39,7 +39,7 @@ class _frequentPatterns(_ABC):
memoryRSS : float
To store the total amount of RSS memory consumed by the program
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/uncertainGeoreferencedFrequentPattern/basic/GFPGrowth.py b/PAMI/uncertainGeoreferencedFrequentPattern/basic/GFPGrowth.py
index c14a4b87..36e3c341 100644
--- a/PAMI/uncertainGeoreferencedFrequentPattern/basic/GFPGrowth.py
+++ b/PAMI/uncertainGeoreferencedFrequentPattern/basic/GFPGrowth.py
@@ -400,7 +400,7 @@ class GFPGrowth(_ab._frequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -424,7 +424,7 @@ class GFPGrowth(_ab._frequentPatterns):
After updating the Database, remaining items will be added into the tree by setting root node as null
convert()
to convert the user specified value
- startMine()
+ mine()
Mining process will start from this function
Execution methods
@@ -738,7 +738,7 @@ def _removeFalsePositives(self):
self._finalPatterns[sample] = y
@deprecated(
- "It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ "It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Main method where the patterns are mined by constructing tree and remove the false patterns by counting the original support of a patterns
@@ -864,7 +864,7 @@ def printResults(self):
_ap = GFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = GFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
_Patterns = _ap.getPatterns()
print("Total number of Patterns:", len(_Patterns))
diff --git a/PAMI/uncertainGeoreferencedFrequentPattern/basic/abstract.py b/PAMI/uncertainGeoreferencedFrequentPattern/basic/abstract.py
index 53c0bf73..38e71c28 100644
--- a/PAMI/uncertainGeoreferencedFrequentPattern/basic/abstract.py
+++ b/PAMI/uncertainGeoreferencedFrequentPattern/basic/abstract.py
@@ -44,7 +44,7 @@ class _frequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/uncertainPeriodicFrequentPattern/basic/UPFPGrowth.py b/PAMI/uncertainPeriodicFrequentPattern/basic/UPFPGrowth.py
index a4c21e19..f9023505 100644
--- a/PAMI/uncertainPeriodicFrequentPattern/basic/UPFPGrowth.py
+++ b/PAMI/uncertainPeriodicFrequentPattern/basic/UPFPGrowth.py
@@ -784,7 +784,7 @@ def _removeFalsePositives(self) -> None:
self._finalPatterns[sample] = y
@deprecated(
- "It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ "It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Main method where the patterns are mined by constructing tree and remove the false patterns
@@ -914,7 +914,7 @@ def printResults(self) -> None:
_ap = UPFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = UPFPGrowth(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Uncertain Periodic-Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
diff --git a/PAMI/uncertainPeriodicFrequentPattern/basic/UPFPGrowthPlus.py b/PAMI/uncertainPeriodicFrequentPattern/basic/UPFPGrowthPlus.py
index 4ca0d6ca..695d9a9a 100644
--- a/PAMI/uncertainPeriodicFrequentPattern/basic/UPFPGrowthPlus.py
+++ b/PAMI/uncertainPeriodicFrequentPattern/basic/UPFPGrowthPlus.py
@@ -484,7 +484,7 @@ class UPFPGrowthPlus(_ab._periodicFrequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -783,7 +783,7 @@ def _removeFalsePositives(self):
#print("Total false patterns generated:", len(self._periodic) - count)
@deprecated(
- "It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ "It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self):
"""
Main method where the patterns are mined by constructing tree and remove the false patterns by counting the original support of a patterns
@@ -905,7 +905,7 @@ def printResults(self):
_ap = UPFPGrowthPlus(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
if len(_ab._sys.argv) == 5:
_ap = UPFPGrowthPlus(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
_Patterns = _ap.getPatterns()
print("Total number of Patterns:", len(_Patterns))
diff --git a/PAMI/uncertainPeriodicFrequentPattern/basic/abstract.py b/PAMI/uncertainPeriodicFrequentPattern/basic/abstract.py
index 4ee8f5e7..4429e725 100644
--- a/PAMI/uncertainPeriodicFrequentPattern/basic/abstract.py
+++ b/PAMI/uncertainPeriodicFrequentPattern/basic/abstract.py
@@ -63,7 +63,7 @@ class _periodicFrequentPatterns(_ABC):
To store the total amount of RSS memory consumed by the program
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/PAMI/weightedFrequentNeighbourhoodPattern/basic/SWFPGrowth.py b/PAMI/weightedFrequentNeighbourhoodPattern/basic/SWFPGrowth.py
index 9ba550eb..4aee6718 100644
--- a/PAMI/weightedFrequentNeighbourhoodPattern/basic/SWFPGrowth.py
+++ b/PAMI/weightedFrequentNeighbourhoodPattern/basic/SWFPGrowth.py
@@ -671,7 +671,7 @@ def __savePeriodic(self, itemSet: List[str]) -> str:
return temp
@deprecated(
- "It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ "It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Frequent pattern mining process will start from here
@@ -810,7 +810,7 @@ def printResults(self) -> None:
_fp._sys.argv[7])
if len(_fp._sys.argv) == 7:
_ap = SWFPGrowth(_fp._sys.argv[1], _fp._sys.argv[3], _fp._sys.argv[4], _fp._sys.argv[5], _fp._sys.argv[6])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Weighted Spatial Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_fp._sys.argv[2])
@@ -819,7 +819,7 @@ def printResults(self) -> None:
print("Total ExecutionTime in ms:", _ap.getRuntime())
else:
_ap = SWFPGrowth('sample.txt', 'neighbourSample.txt', 150, ' ')
- _ap.startMine()
+ _ap.mine()
print("Total number of Weighted Spatial Frequent Patterns:", len(_ap.getPatterns()))
_ap.save('output.txt')
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/weightedFrequentNeighbourhoodPattern/basic/abstract.py b/PAMI/weightedFrequentNeighbourhoodPattern/basic/abstract.py
index 44d2c44b..022c6a5a 100644
--- a/PAMI/weightedFrequentNeighbourhoodPattern/basic/abstract.py
+++ b/PAMI/weightedFrequentNeighbourhoodPattern/basic/abstract.py
@@ -72,7 +72,7 @@ class _weightedFrequentSpatialPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/weightedFrequentPattern/basic/WFIM.py b/PAMI/weightedFrequentPattern/basic/WFIM.py
index 62c508e6..f7001cef 100644
--- a/PAMI/weightedFrequentPattern/basic/WFIM.py
+++ b/PAMI/weightedFrequentPattern/basic/WFIM.py
@@ -581,7 +581,7 @@ def __savePeriodic(self, itemSet: List[int]) -> str:
return temp
@deprecated(
- "It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ "It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
main program to start the operation
@@ -722,7 +722,7 @@ def printResults(self) -> None:
_ap = WFIM(_fp._sys.argv[1], _fp._sys.argv[3], _fp._sys.argv[4], _fp._sys.argv[5], _fp._sys.argv[6])
if len(_fp._sys.argv) == 6:
_ap = WFIM(_fp._sys.argv[1], _fp._sys.argv[3], _fp._sys.argv[4], _fp._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Weighted Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_fp._sys.argv[2])
diff --git a/PAMI/weightedFrequentPattern/basic/abstract.py b/PAMI/weightedFrequentPattern/basic/abstract.py
index 9cd7b8d6..d212f7b1 100644
--- a/PAMI/weightedFrequentPattern/basic/abstract.py
+++ b/PAMI/weightedFrequentPattern/basic/abstract.py
@@ -81,7 +81,7 @@ class _weightedFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
This function will output all interesting patterns discovered by an algorithm
diff --git a/PAMI/weightedFrequentRegularPattern/basic/WFRIMiner.py b/PAMI/weightedFrequentRegularPattern/basic/WFRIMiner.py
index 60ca790b..c9fe6130 100644
--- a/PAMI/weightedFrequentRegularPattern/basic/WFRIMiner.py
+++ b/PAMI/weightedFrequentRegularPattern/basic/WFRIMiner.py
@@ -401,7 +401,7 @@ class WFRIMiner(_fp._weightedFrequentRegularPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -684,7 +684,7 @@ def _savePeriodic(self, itemSet) -> str:
return temp
@deprecated(
- "It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ "It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
Frequent pattern mining process will start from here
@@ -817,7 +817,7 @@ def printResults(self) -> None:
_ap = WFRIMiner(_fp._sys.argv[1], _fp._sys.argv[3], _fp._sys.argv[4], _fp._sys.argv[5], _fp._sys.argv[6])
if len(_fp._sys.argv) == 5:
_ap = WFRIMiner(_fp._sys.argv[1], _fp._sys.argv[3], _fp._sys.argv[4], _fp._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Weighted Frequent Regular Patterns:", len(_ap.getPatterns()))
_ap.save(_fp._sys.argv[2])
diff --git a/PAMI/weightedFrequentRegularPattern/basic/abstract.py b/PAMI/weightedFrequentRegularPattern/basic/abstract.py
index 8a5db205..a70076fd 100644
--- a/PAMI/weightedFrequentRegularPattern/basic/abstract.py
+++ b/PAMI/weightedFrequentRegularPattern/basic/abstract.py
@@ -88,7 +88,7 @@ class _weightedFrequentRegularPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Calling this function will start the actual mining process
getPatterns()
diff --git a/PAMI/weightedUncertainFrequentPattern/basic/WUFIM.py b/PAMI/weightedUncertainFrequentPattern/basic/WUFIM.py
index 27bfa00f..c5f26412 100644
--- a/PAMI/weightedUncertainFrequentPattern/basic/WUFIM.py
+++ b/PAMI/weightedUncertainFrequentPattern/basic/WUFIM.py
@@ -393,7 +393,7 @@ class WUFIM(_ab._weightedFrequentPatterns):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
@@ -417,7 +417,7 @@ class WUFIM(_ab._weightedFrequentPatterns):
After updating the Database, remaining items will be added into the tree by setting root node as null
convert()
to convert the user specified value
- startMine()
+ mine()
Mining process will start from this function
Execution methods
@@ -729,10 +729,10 @@ def _removeFalsePositives(self) -> None:
self._finalPatterns[sample] = y
@deprecated(
- "It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
+ "It is recommended to use 'mine()' instead of 'mine()' for mining process. Starting from January 2025, 'mine()' will be completely terminated.")
def startMine(self) -> None:
"""
- startMine() method where the patterns are mined by constructing tree and remove the false patterns by counting the original support of a patterns.
+ mine() method where the patterns are mined by constructing tree and remove the false patterns by counting the original support of a patterns.
"""
self.mine()
@@ -859,7 +859,7 @@ def printResults(self) -> None:
_ap = WUFIM(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5], _ab._sys.argv[6])
if len(_ab._sys.argv) == 6:
_ap = WUFIM(_ab._sys.argv[1], _ab._sys.argv[3], _ab._sys.argv[4], _ab._sys.argv[5])
- _ap.startMine()
+ _ap.mine()
_ap.mine()
print("Total number of Weighted Uncertain Frequent Patterns:", len(_ap.getPatterns()))
_ap.save(_ab._sys.argv[2])
@@ -870,7 +870,7 @@ def printResults(self) -> None:
for k in [120, 140, 160, 180, 200]:
_ap = WUFIM('/Users/likhitha/Downloads/uncertainTransaction_T10I4D200K.csv', '/Users/likhitha/Downloads/T10_weights.txt',
k, 500, '\t')
- _ap.startMine()
+ _ap.mine()
print("Total number of Weighted Uncertain Frequent Patterns:", len(_ap.getPatterns()))
_ap.save('/Users/likhitha/Downloads/WUFIM_output.txt')
print("Total Memory in USS:", _ap.getMemoryUSS())
diff --git a/PAMI/weightedUncertainFrequentPattern/basic/abstract.py b/PAMI/weightedUncertainFrequentPattern/basic/abstract.py
index 5cc325fa..d08a3a32 100644
--- a/PAMI/weightedUncertainFrequentPattern/basic/abstract.py
+++ b/PAMI/weightedUncertainFrequentPattern/basic/abstract.py
@@ -46,7 +46,7 @@ class _weightedFrequentPatterns(_ABC):
:Methods:
- startMine()
+ mine()
Mining process will start from here
getPatterns()
Complete set of patterns will be retrieved with this function
diff --git a/README.md b/README.md
index b44a9672..82efcc38 100644
--- a/README.md
+++ b/README.md
@@ -61,7 +61,6 @@
# Introduction
PAttern MIning (PAMI) is a Python library containing several algorithms to discover user interest-based patterns in a wide-spectrum of datasets across multiple computing platforms. Useful links to utilize the services of this library were provided below:
-NAME:SANGEETH
1. Youtube tutorial https://www.youtube.com/playlist?list=PLKP768gjVJmDer6MajaLbwtfC9ULVuaCZ
@@ -171,7 +170,7 @@ from PAMI.frequentPattern.basic import FPGrowth as alg
fileURL = "https://u-aizu.ac.jp/~udayrage/datasets/transactionalDatabases/Transactional_T10I4D100K.csv"
minSup=300
obj = alg.FPGrowth(iFile=fileURL, minSup=minSup, sep='\t')
-#obj.startMine() #deprecated
+#obj.mine() #deprecated
obj.mine()
obj.save('frequentPatternsAtMinSupCount300.txt')
frequentPatternsDF= obj.getPatternsAsDataFrame()
diff --git a/docs/APRIORI-st.md b/docs/APRIORI-st.md
index 123e8346..6fcd6a30 100644
--- a/docs/APRIORI-st.md
+++ b/docs/APRIORI-st.md
@@ -31,7 +31,7 @@ seperator='\t'
```python
obj = alg.Apriori(iFile=inputFile, minSup=minimumSupportCount, sep=seperator) #initialize
-obj.startMine() #Start the mining process
+obj.mine() #Start the mining process
```
Frequent patterns were generated successfully using Apriori algorithm
diff --git a/docs/RecurringPatterns.md b/docs/RecurringPatterns.md
index a1a15c16..4d8bc64c 100644
--- a/docs/RecurringPatterns.md
+++ b/docs/RecurringPatterns.md
@@ -131,7 +131,7 @@ seperator = ' ' #specify the seperator. Default seperator is tab space.
oFile = 'recurringPatterns.txt' #specify the output file name
obj = alg.RPGrowth(iFile, minSup, maxPer, minRec, seperator) #initialize the algorithm
-obj.startMine() #start the mining process
+obj.mine() #start the mining process
obj.save(oFile) #store the patterns in file
df = obj.getPatternsAsDataFrame() #Get the patterns discovered into a dataframe
obj.printResults() #Print the stats of mining process
diff --git a/docs/codersManual/algorithmCoding.md b/docs/codersManual/algorithmCoding.md
index 9c2b162b..5cbf6aa2 100644
--- a/docs/codersManual/algorithmCoding.md
+++ b/docs/codersManual/algorithmCoding.md
@@ -14,7 +14,7 @@ Before writing any code using hash mark (#) write the text about explaining the
#
# from PAMI.model.patternType import AlgorithmX as alg
# obj = alg.AlgorithmX(inputParameters)
-# obj.startMine()
+# obj.mine()
# interestingPatterns = obj.getPatterns()
# print("Total number of interesting patterns:", len(interestingPatterns))
# obj.savePatterns(oFile)
@@ -86,7 +86,7 @@ class AlgorithmX(_ab._patternModel):
from PAMI.model.patternType import AlgorithmX as alg
obj = alg.AlgorithmX(inputParameters)
- obj.startMine()
+ obj.mine()
interestingPatterns = obj.getPatterns()
print("Total number of interesting patterns:", len(interestingPatterns))
obj.savePatterns(oFile)
diff --git a/docs/correlatePatternMining.md b/docs/correlatePatternMining.md
index 3a26a348..e4a5d02b 100644
--- a/docs/correlatePatternMining.md
+++ b/docs/correlatePatternMining.md
@@ -121,7 +121,7 @@ seperator = ' ' # specify the seperator. Default seperator is tab space.
oFile = 'correlatedPattern.txt' # specify the output file name<
obj = alg.CPGrowth(iFile, minSup, minAllConf, seperator) # initialize the algorithm
-obj.startMine() # start the mining process
+obj.mine() # start the mining process
obj.save(oFile) # store the patterns in file
df = obj.getPatternsAsDataFrame() # Get the patterns discovered into a dataframe
obj.printResults()
diff --git a/docs/examples.md b/docs/examples.md
index 35eb0ffe..b356945d 100644
--- a/docs/examples.md
+++ b/docs/examples.md
@@ -256,7 +256,7 @@ derive the statistical details of a database.
from PAMI.frequentPattern.basic import fpGrowth as alg
obj = alg.fpGrowth(inputFile,minSup,sep)
- obj.startMine()
+ obj.mine()
obj.save('patterns.txt')
df = obj.getPatternsAsDataFrame()
print('Runtime: ' + str(obj.getRuntime()))
diff --git a/docs/exercises/exercise1.md b/docs/exercises/exercise1.md
index b2d0b30f..17a3f433 100644
--- a/docs/exercises/exercise1.md
+++ b/docs/exercises/exercise1.md
@@ -78,7 +78,7 @@ The Apriori algorithm can be executed by calling `Apriori` class in PAMI.freque
sep='\t' #default seperator used to seperate items in a database
obj = alg.Apriori(inputFile,minSup,sep)
- obj.startMine()
+ obj.mine()
obj.save('patterns.txt')
df = obj.getPatternsAsDataFrame()
@@ -104,7 +104,7 @@ The Apriori algorithm can be executed by calling `Apriori` class in PAMI.freque
memoryRSS = {}
for minSup in minSupList:
obj = alg.Apriori(inputFile, minSup=minSup, sep=sep)
- obj.startMine()
+ obj.mine()
numOfPatterns[minSup] = len(obj.getPatterns())
runtime[minSup] = obj.getRuntime()
memoryUSS[minSup] = obj.getMemoryUSS()
diff --git a/docs/exercises/exercise2.md b/docs/exercises/exercise2.md
index 42576923..943db99b 100644
--- a/docs/exercises/exercise2.md
+++ b/docs/exercises/exercise2.md
@@ -17,7 +17,7 @@
for minSup in minSupList:
obj = alg.FPGrowth(dataset, minSup=minSup, sep=sep)
- obj.startMine()
+ obj.mine()
df = pd.DataFrame([algorithm, minSup, len(obj.getPatterns()), obj.getRuntime(), obj.getMemoryRSS()], index=result.columns).T
result = result.append(df, ignore_index=True)
@@ -28,7 +28,7 @@
for minSup in minSupList:
obj = alg.ECLAT(dataset, minSup=minSup)
- obj.startMine()
+ obj.mine()
df = pd.DataFrame([algorithm, minSup, len(obj.getPatterns()), obj.getRuntime(), obj.getMemoryRSS()], index=result.columns).T
result = result.append(df, ignore_index=True)
diff --git a/docs/exercises/exercise3.md b/docs/exercises/exercise3.md
index d446f756..8a2a5c54 100644
--- a/docs/exercises/exercise3.md
+++ b/docs/exercises/exercise3.md
@@ -78,7 +78,7 @@ The Apriori algorithm can be executed by calling `parallelApriori` class in PAM
numWorkers = 3
obj = alg.parallelApriori(inputFile,minSup,numWorkers,sep)
- obj.startMine()
+ obj.mine()
obj.save('patterns.txt')
df = obj.getPatternsAsDataFrame()
@@ -101,7 +101,7 @@ The Apriori algorithm can be executed by calling `parallelApriori` class in PAM
memoryRSS = {}
for minSup in minSupList:
obj = alg.parallelApriori(inputFile, minSup=minSup, numWorkers=numWorkers, sep=sep)
- obj.startMine()
+ obj.mine()
numOfPatterns[minSup] = len(obj.getPatterns())
runtime[minSup] = obj.getRuntime()
memoryUSS[minSup] = obj.getMemoryUSS()
diff --git a/docs/exercises/exercise4.md b/docs/exercises/exercise4.md
index 1fa2d6cb..1724c2fc 100644
--- a/docs/exercises/exercise4.md
+++ b/docs/exercises/exercise4.md
@@ -76,7 +76,7 @@ The cuda version of ECLAT algorithm can be executed by calling `cudaECLAT` class
sep='\t' #default seperator used to seperate items in a database
obj = alg.cudaECLAT(inputFile,minSup,sep)
- obj.startMine()
+ obj.mine()
obj.save('patterns.txt')
df = obj.getPatternsAsDataFrame()
@@ -100,7 +100,7 @@ The cuda version of ECLAT algorithm can be executed by calling `cudaECLAT` class
memoryRSS = {}
for minSup in minSupList:
obj = alg.cudaECLAT(inputFile, minSup=minSup, numWorkers=numWorkers, sep=sep)
- obj.startMine()
+ obj.mine()
numOfPatterns[minSup] = obj.getPatterns()
runtime[minSup] = obj.getRuntime()
memoryUSS[minSup] = obj.getMemoryUSS()
diff --git a/docs/exercises/fuzzyFrequentPatternMining.md b/docs/exercises/fuzzyFrequentPatternMining.md
index c57fe72c..3e995cbb 100644
--- a/docs/exercises/fuzzyFrequentPatternMining.md
+++ b/docs/exercises/fuzzyFrequentPatternMining.md
@@ -256,7 +256,7 @@ derive the statistical details of a database.
from PAMI.frequentPattern.basic import fpGrowth as alg
obj = alg.fpGrowth(inputFile,minSup,sep)
- obj.startMine()
+ obj.mine()
obj.save('patterns.txt')
df = obj.getPatternsAsDataFrame()
print('Runtime: ' + str(obj.getRuntime()))
diff --git a/docs/exercises/howToWritePythonCodeinMarkup.md b/docs/exercises/howToWritePythonCodeinMarkup.md
index 2c2db7c5..36c3749f 100644
--- a/docs/exercises/howToWritePythonCodeinMarkup.md
+++ b/docs/exercises/howToWritePythonCodeinMarkup.md
@@ -8,7 +8,7 @@
obj = alg.fpGrowth(inputFile, minSup)
# use obj = alg.fpGrowth(inputFile, minSup,sep=',') to override the default tab space separator with comma
-obj.startMine() # start the mining process
+obj.mine() # start the mining process
obj.save(outputFile) # store the generated patterns in a file
@@ -37,7 +37,7 @@ obj.save(outputFile) # store the generated patterns in a file
obj = alg.PFPGrowthPlus(inputFile, minSup, maxPer)
#use obj = alg.fpGrowth(inputFile, minSup,sep=',') to override the default tab space separator with comma
- obj.startMine() #start the mining process
+ obj.mine() #start the mining process
obj.save(outputFile) #store the generated patterns in a file
@@ -67,7 +67,7 @@ obj.save(outputFile) # store the generated patterns in a file
obj = alg.EFIM(inputFile, minUtil)
- obj.startMine() #start the mining process
+ obj.mine() #start the mining process
obj.save(outputFile) #store the generated patterns in a file
diff --git a/docs/exercises/peirodicFrequentPatternMining.md b/docs/exercises/peirodicFrequentPatternMining.md
index c57fe72c..3e995cbb 100644
--- a/docs/exercises/peirodicFrequentPatternMining.md
+++ b/docs/exercises/peirodicFrequentPatternMining.md
@@ -256,7 +256,7 @@ derive the statistical details of a database.
from PAMI.frequentPattern.basic import fpGrowth as alg
obj = alg.fpGrowth(inputFile,minSup,sep)
- obj.startMine()
+ obj.mine()
obj.save('patterns.txt')
df = obj.getPatternsAsDataFrame()
print('Runtime: ' + str(obj.getRuntime()))
diff --git a/docs/frequentPatternMining.md b/docs/frequentPatternMining.md
index 552e5fcb..667bd696 100644
--- a/docs/frequentPatternMining.md
+++ b/docs/frequentPatternMining.md
@@ -104,7 +104,7 @@ seperator = ' ' #specify the seperator. Default seperator is ta
oFile = 'frequentPatterns.txt' #specify the output file name
obj = alg.Apriori(iFile, minSup, seperator) #initialize the algorithm
-obj.startMine() #start the mining process
+obj.mine() #start the mining process
obj.save(oFile) #store the patterns in file
df = obj.getPatternsAsDataFrame() #Get the patterns discovered into a dataframe
obj.printResults() #Print the stats of mining process
diff --git a/docs/frequentSpatialPatternMining.md b/docs/frequentSpatialPatternMining.md
index b4cf4bb3..8dbbb479 100644
--- a/docs/frequentSpatialPatternMining.md
+++ b/docs/frequentSpatialPatternMining.md
@@ -149,7 +149,7 @@ seperator = ' ' # specify the seperator. Default seperator is tab space.
oFile = 'frequentSpatialPatterns.txt' # specify the output file name
obj = alg.FSPGrowth(iFile, nFile, minSup, seperator) # initialize the algorithm
-obj.startMine() # start the mining process
+obj.mine() # start the mining process
df = obj.getPatternsAsDataFrame() # Get the patterns discovered into a dataframe
obj.save(oFile) # store the patterns in file
obj.printResults() # Print the stats of mining process
diff --git a/docs/fuzzyCorrelatedPatternMining.md b/docs/fuzzyCorrelatedPatternMining.md
index 05f03702..2a2c5c59 100644
--- a/docs/fuzzyCorrelatedPatternMining.md
+++ b/docs/fuzzyCorrelatedPatternMining.md
@@ -116,7 +116,7 @@ minAllConf = 0.5
oFile = 'FuzzyCorrelatedPatterns.txt' #specify the output file name
obj = alg.FCPGrowth(iFile, minSup, minAllConf, seperator) #initialize the algorithm
-obj.startMine() #start the mining process
+obj.mine() #start the mining process
obj.save(oFile) #store the patterns in file
df = obj.getPatternsAsDataFrame() #Get the patterns discovered into a dataframe
obj.printResults() #Print the stats of mining process
diff --git a/docs/fuzzyFrequentPatternMining.md b/docs/fuzzyFrequentPatternMining.md
index d0fa5ac5..8b574fb5 100644
--- a/docs/fuzzyFrequentPatternMining.md
+++ b/docs/fuzzyFrequentPatternMining.md
@@ -123,7 +123,7 @@ seperator = ' ' # specify the seperator. Default seperator is tab space.
oFile = 'fuzzyPatterns.txt' # specify the output file name
obj = alg.FFIMiner(iFile, minSup, seperator) # initialize the algorithm
-obj.startMine() # start the mining process
+obj.mine() # start the mining process
obj.save(oFile) # store the patterns in file
df = obj.getPatternsAsDataFrame() # Get the patterns discovered into a dataframe
obj.printResults() # Print the stats of mining process
diff --git a/docs/fuzzyFrequentPatternMining_dump.md b/docs/fuzzyFrequentPatternMining_dump.md
index 6fa1bc0b..b6646e7d 100644
--- a/docs/fuzzyFrequentPatternMining_dump.md
+++ b/docs/fuzzyFrequentPatternMining_dump.md
@@ -123,7 +123,7 @@ seperator = ' ' # specify the seperator. Default seperator is tab space.
oFile = 'fuzzyPatterns.txt' # specify the output file name
obj = alg.FFIMiner(iFile, minSup, seperator) # initialize the algorithm
-obj.startMine() # start the mining process
+obj.mine() # start the mining process
obj.save(oFile) # store the patterns in file
df = obj.getPatternsAsDataFrame() # Get the patterns discovered into a dataframe
obj.printResults() # Print the stats of mining process
diff --git a/docs/fuzzyFrequentSpatialPatternMining.md b/docs/fuzzyFrequentSpatialPatternMining.md
index be6597b0..2127e5a3 100644
--- a/docs/fuzzyFrequentSpatialPatternMining.md
+++ b/docs/fuzzyFrequentSpatialPatternMining.md
@@ -165,7 +165,7 @@ oFile = 'fuzzySpatialPatterns.txt' # specify the output file name
nFile = 'sampleNeighbourFile.txt' # specify the neighbour file of database
obj = alg.FFSPMiner(iFile, nFile, minSup, seperator) # initialize the algorithm
-obj.startMine() # start the mining process
+obj.mine() # start the mining process
obj.save(oFile) # store the patterns in file
df = obj.getPatternsAsDataFrame() # Get the patterns discovered into a dataframe
obj.printResults() # Print the stats of mining process
diff --git a/docs/fuzzyFrequentSpatialPatternMining_dump.md b/docs/fuzzyFrequentSpatialPatternMining_dump.md
index 4cd22410..23e43ab9 100644
--- a/docs/fuzzyFrequentSpatialPatternMining_dump.md
+++ b/docs/fuzzyFrequentSpatialPatternMining_dump.md
@@ -165,7 +165,7 @@ oFile = 'fuzzySpatialPatterns.txt' # specify the output file name
nFile = 'sampleNeighbourFile.txt' # specify the neighbour file of database
obj = alg.FFSPMiner(iFile, nFile, minSup, seperator) # initialize the algorithm
-obj.startMine() # start the mining process
+obj.mine() # start the mining process
obj.save(oFile) # store the patterns in file
df = obj.getPatternsAsDataFrame() # Get the patterns discovered into a dataframe
obj.printResults() # Print the stats of mining process
diff --git a/docs/fuzzyPeriodicFrequentPatternMining.md b/docs/fuzzyPeriodicFrequentPatternMining.md
index 530d0f98..01553980 100644
--- a/docs/fuzzyPeriodicFrequentPatternMining.md
+++ b/docs/fuzzyPeriodicFrequentPatternMining.md
@@ -126,7 +126,7 @@ oFile = 'FuzzyPeriodicPatterns.txt' #specify the output file name
obj = alg.FPFPMiner(iFile, minSup, maxPer, ' ')
-obj.startMine()
+obj.mine()
obj.save(oFile) #(to store the patterns in file)
Df = obj.getPatternsAsDataFrame() #(to store the patterns in dataframe)
obj.printResults() #(to print the no of patterns, runtime and memory consumption details)
diff --git a/docs/fuzzyPeriodicFrequentPatternMining_dump.md b/docs/fuzzyPeriodicFrequentPatternMining_dump.md
index 07ea2d57..cf54174e 100644
--- a/docs/fuzzyPeriodicFrequentPatternMining_dump.md
+++ b/docs/fuzzyPeriodicFrequentPatternMining_dump.md
@@ -124,7 +124,7 @@ maxPer = 3 # specify the maxPer value
oFile = 'FuzzyPeriodicPatterns.txt' # specify the output file name
obj = alg.FPFPMiner(iFile, minSup, maxPer, ' ')
-obj.startMine()
+obj.mine()
obj.save(oFile) # (to store the patterns in file)
Df = obj.getPatternsAsDataFrame() # (to store the patterns in dataframe)
obj.printResults() # (to print the no of patterns, runtime and memory consumption details)
diff --git a/docs/fuzzySpatialPeriodicFrequentPatternMining.md b/docs/fuzzySpatialPeriodicFrequentPatternMining.md
index 19230101..6e589495 100644
--- a/docs/fuzzySpatialPeriodicFrequentPatternMining.md
+++ b/docs/fuzzySpatialPeriodicFrequentPatternMining.md
@@ -160,7 +160,7 @@ oFile = 'fuzzySpatialPeriodicFrequentPatterns.txt' # specify the output file na
nFile = 'sampleNeighbourFile.txt' # specify the neighbour file of database
obj = alg.FGPFPMiner(iFile, nFile, minSup, maxPer, seperator) # initialize the algorithm
-obj.startMine() # start the mining process
+obj.mine() # start the mining process
obj.save(oFile) # store the patterns in file
df = obj.getPatternsAsDataFrame() # Get the patterns discovered into a dataframe
obj.printResults() # Print the stats of mining process
diff --git a/docs/generateLatexGraphs.md b/docs/generateLatexGraphs.md
index 8754e9c8..562c2dc6 100644
--- a/docs/generateLatexGraphs.md
+++ b/docs/generateLatexGraphs.md
@@ -7,7 +7,7 @@
from PAMI.frequentPattern.basic import FPGrowth as alg
obj = alg.FPGrowth(inputFile,minSup,sep)
- obj.startMine()
+ obj.mine()
obj.save('patterns.txt')
df = obj.getPatternsAsDataFrame()
print('Runtime: ' + str(obj.getRuntime()))
@@ -25,7 +25,7 @@
algorithm = 'FPGrowth'
for minSup in minSupList:
obj = alg.FPGrowth(dataset, minSup=minSup)
- obj.startMine()
+ obj.mine()
df = pd.DataFrame([algorithm, minSup, len(obj.getPatterns()), obj.getRuntime(), obj.getMemoryRSS()], index=result.columns).T
result = result.append(df, ignore_index=True)
@@ -35,7 +35,7 @@
algorithm = 'ECLAT'
for minSup in minSupList:
obj = alg.ECLAT(dataset, minSup=minSup)
- obj.startMine()
+ obj.mine()
df = pd.DataFrame([algorithm, minSup, len(obj.getPatterns()), obj.getRuntime(), obj.getMemoryRSS()], index=result.columns).T
result = result.append(df, ignore_index=True)
diff --git a/docs/highUtilityPatternMining.md b/docs/highUtilityPatternMining.md
index 3fb38af6..3583de32 100644
--- a/docs/highUtilityPatternMining.md
+++ b/docs/highUtilityPatternMining.md
@@ -140,7 +140,7 @@ seperator = ' ' #specify the seperator. Default seperator is tab s
oFile = 'utilityPatterns.txt' #specify the output file name
obj = alg.EFIM(iFile, minUtil, seperator) #initialize the algorithm
-obj.startMine() #start the mining process
+obj.mine() #start the mining process
obj.save(oFile) #store the patterns in file
df = obj.getPatternsAsDataFrame() #Get the patterns discovered into a dataframe
obj.printResults() #Print the stats of mining process
diff --git a/docs/highUtilitySpatialPatternMining.md b/docs/highUtilitySpatialPatternMining.md
index a13d0dbf..0e8647db 100644
--- a/docs/highUtilitySpatialPatternMining.md
+++ b/docs/highUtilitySpatialPatternMining.md
@@ -152,7 +152,7 @@ seperator = ' ' #specify the seperator. Default seperator is tab space.
oFile = 'utilityPatterns.txt' #specify the output file name
obj = alg.HDSHUIM(iFile, nFile, minUtil, seperator) #initialize the algorithm
-obj.startMine() #start the mining process
+obj.mine() #start the mining process
obj.save(oFile) #store the patterns in file
df = obj.getPatternsAsDataFrame() #Get the patterns discovered into a dataframe
obj.printResults() #Print the stats of mining process
diff --git a/docs/highUtiltiyFrequentPatternMining.md b/docs/highUtiltiyFrequentPatternMining.md
index 23949b89..08966b6e 100644
--- a/docs/highUtiltiyFrequentPatternMining.md
+++ b/docs/highUtiltiyFrequentPatternMining.md
@@ -143,7 +143,7 @@ seperator = ' ' # specify the seperator. Default seperator is tab space.
oFile = 'utilityfrequentPatterns.txt' # specify the output file name
obj = alg.HUFIM(iFile, minUtil, minSup, seperator) # initialize the algorithm
-obj.startMine() # start the mining process
+obj.mine() # start the mining process
obj.save(oFile) # store the patterns in file
df = obj.getPatternsAsDataFrame() # Get the patterns discovered into a dataframe
obj.printResults() # Print the stats of mining process
diff --git a/docs/html/PAMI.AssociationRules.html b/docs/html/PAMI.AssociationRules.html
index cb1a956b..5cad28f9 100644
--- a/docs/html/PAMI.AssociationRules.html
+++ b/docs/html/PAMI.AssociationRules.html
@@ -112,7 +112,7 @@
ARWithConfidence.mine()
ARWithConfidence.printResults()
ARWithConfidence.save()
ARWithConfidence.startMine()
ARWithConfidence.mine()
ARWithLeverage.mine()
ARWithLeverage.printResults()
ARWithLeverage.save()
ARWithLeverage.startMine()
ARWithLeverage.mine()
ARWithLift.mine()
ARWithLift.printResults()
ARWithLift.save()
ARWithLift.startMine()
ARWithLift.mine()
Lift
RuleMiner.mine()
RuleMiner.printResults()
RuleMiner.save()
RuleMiner.startMine()
RuleMiner.mine()
CoMine.mine()
CoMine.printResults()
CoMine.save()
CoMine.startMine()
CoMine.mine()
CoMinePlus.mine()
CoMinePlus.printResults()
CoMinePlus.save()
CoMinePlus.startMine()
CoMinePlus.mine()
CMine.mine()
CMine.printResults()
CMine.save()
CMine.startMine()
CMine.mine()
CMine.tidToBitset()
CPPG.mine()
CPPG.printResults()
CPPG.save()
CPPG.startMine()
CPPG.mine()
FTApriori.mine()
FTApriori.printResults()
FTApriori.save()
FTApriori.startMine()
FTApriori.mine()
FTFPGrowth.mine()
FTFPGrowth.printResults()
FTFPGrowth.save()
FTFPGrowth.startMine()
FTFPGrowth.mine()
Apriori.mine()
Apriori.printResults()
Apriori.save()
Apriori.startMine()
Apriori.mine()
Apriori.mine()
Apriori.printResults()
Apriori.save()
Apriori.startMine()
Apriori.mine()
ECLAT.mine()
ECLAT.printResults()
ECLAT.save()
ECLAT.startMine()
ECLAT.mine()
ECLATDiffset.mine()
ECLATDiffset.printResults()
ECLATDiffset.save()
ECLATDiffset.startMine()
ECLATDiffset.mine()
ECLATbitset.mine()
ECLATbitset.printResults()
ECLATbitset.save()
ECLATbitset.startMine()
ECLATbitset.mine()
ECLATbitset.tidToBitset()
FPGrowth.mine()
FPGrowth.printResults()
FPGrowth.save()
FPGrowth.startMine()
FPGrowth.mine()
CHARM.mine()
CHARM.printResults()
CHARM.save()
CHARM.startMine()
CHARM.mine()
MaxFPGrowth.mine()
MaxFPGrowth.printResults()
MaxFPGrowth.save()
MaxFPGrowth.startMine()
MaxFPGrowth.mine()
parallelApriori.mine()
parallelApriori.printResults()
parallelApriori.save()
parallelApriori.startMine()
parallelApriori.mine()
parallelECLAT.mine()
parallelECLAT.printResults()
parallelECLAT.save()
parallelECLAT.startMine()
parallelECLAT.mine()
parallelFPGrowth.mine()
parallelFPGrowth.printResults()
parallelFPGrowth.save()
parallelFPGrowth.startMine()
parallelFPGrowth.mine()
FAE.mine()
FAE.printTOPK()
FAE.save()
FAE.startMine()
FAE.mine()
Frequent pattern mining process will start from here
Frequent pattern mining process will start from here
FCPGrowth.mine()
FCPGrowth.printResults()
FCPGrowth.save()
FCPGrowth.startMine()
FCPGrowth.mine()
main()
FFIMiner.mine()
FFIMiner.printResults()
FFIMiner.save()
FFIMiner.startMine()
FFIMiner.mine()
FFIMiner.mine()
FFIMiner.printResults()
FFIMiner.save()
FFIMiner.startMine()
FFIMiner.mine()
FFSPMiner.mine()
FFSPMiner.printResults()
FFSPMiner.save()
FFSPMiner.startMine()
FFSPMiner.mine()
FFSPMiner.mine()
FFSPMiner.printResults()
FFSPMiner.save()
FFSPMiner.startMine()
FFSPMiner.mine()
FGPFPMiner.mine()
FGPFPMiner.printResults()
FGPFPMiner.save()
FGPFPMiner.startMine()
FGPFPMiner.mine()
FGPFPMiner.mine()
FGPFPMiner.printResults()
FGPFPMiner.save()
FGPFPMiner.startMine()
FGPFPMiner.mine()
F3PMiner.mine()
F3PMiner.printResults()
F3PMiner.save()
F3PMiner.startMine()
F3PMiner.mine()
FPFPMiner.mine()
FPFPMiner.printResults()
FPFPMiner.save()
FPFPMiner.startMine()
FPFPMiner.mine()
FPFPMiner.mine()
FPFPMiner.printResults()
FPFPMiner.save()
FPFPMiner.startMine()
FPFPMiner.mine()
GPFPMiner.mine()
GPFPMiner.printResults()
GPFPMiner.save()
GPFPMiner.startMine()
GPFPMiner.mine()
SpatialECLAT.mine()
SpatialECLAT.printResults()
SpatialECLAT.save()
SpatialECLAT.startMine()
SpatialECLAT.mine()
STEclat.mine()
STEclat.printResults()
STEclat.save()
STEclat.startMine()
STEclat.mine()
HUFIM.mine()
HUFIM.printResults()
HUFIM.save()
HUFIM.startMine()
HUFIM.mine()
SHUFIM.mine()
SHUFIM.printResults()
SHUFIM.save()
SHUFIM.startMine()
SHUFIM.mine()
main()
EFIM.printResults()
EFIM.save()
EFIM.sort_transaction()
EFIM.startMine()
EFIM.mine()
HMiner.mine()
HMiner.printResults()
HMiner.save()
HMiner.startMine()
HMiner.mine()
UPGrowth.mine()
UPGrowth.printResults()
UPGrowth.save()
UPGrowth.startMine()
UPGrowth.mine()
efimParallel.mine()
efimParallel.printResults()
efimParallel.save()
efimParallel.startMine()
efimParallel.mine()
efimParallel.mine()
efimParallel.printResults()
efimParallel.save()
efimParallel.startMine()
efimParallel.mine()
HDSHUIM.mine()
HDSHUIM.printResults()
HDSHUIM.save()
HDSHUIM.startMine()
HDSHUIM.mine()
SHUIM.mine()
SHUIM.printResults()
SHUIM.save()
SHUIM.startMine()
SHUIM.mine()
TKSHUIM.sep
TKSHUIM.sortDatabase()
TKSHUIM.sort_transaction()
TKSHUIM.startMine()
TKSHUIM.mine()
TKSHUIM.startTime
TKSHUIM.strToint
TKSHUIM.temp
utilityPatterns.oFile()
utilityPatterns.printResults()
utilityPatterns.save()
utilityPatterns.startMine()
utilityPatterns.mine()
utilityPatterns.startTime()
Calling this function will start the actual mining process
+Calling this function will start the actual mining process
This function will output all interesting patterns discovered by an algorithm
Calling this function will start the actual mining process
+Calling this function will start the actual mining process
This function will output all interesting patterns discovered by an algorithm
utilityPatterns.nFile()
utilityPatterns.oFile()
utilityPatterns.save()
utilityPatterns.startMine()
utilityPatterns.mine()
utilityPatterns.startTime()
PPGrowth.getRuntime()
PPGrowth.printResults()
PPGrowth.save()
PPGrowth.startMine()
PPGrowth.mine()
VBFTMine.getRuntime()
VBFTMine.printResults()
VBFTMine.save()
VBFTMine.startMine()
VBFTMine.mine()
LPPGrowth.mine()
LPPGrowth.printResults()
LPPGrowth.save()
LPPGrowth.startMine()
LPPGrowth.mine()
Node
LPPMBreadth.mine()
LPPMBreadth.printResults()
LPPMBreadth.save()
LPPMBreadth.startMine()
LPPMBreadth.mine()
LPPMDepth.mine()
LPPMDepth.printResults()
LPPMDepth.save()
LPPMDepth.startMine()
LPPMDepth.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
CFPGrowth.getRuntime()
CFPGrowth.printResults()
CFPGrowth.save()
CFPGrowth.startMine()
CFPGrowth.mine()
CFPGrowthPlus.getRuntime()
CFPGrowthPlus.printResults()
CFPGrowthPlus.save()
CFPGrowthPlus.startMine()
CFPGrowthPlus.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
from PAMI.partialPeriodicFrequentPattern.basic import GPFgrowth as alg
obj = alg.GPFgrowth(inputFile, outputFile, minSup, maxPer, minPR)
-obj.startMine()
+obj.mine()
partialPeriodicFrequentPatterns = obj.getPatterns()
print(“Total number of partial periodic Patterns:”, len(partialPeriodicFrequentPatterns))
obj.save(oFile)
@@ -661,7 +661,7 @@from PAMI.partialPeriodicFrequentpattern.basic import PPF_DFS as alg
obj = alg.PPF_DFS(iFile, minSup)
-obj.startMine()
+obj.mine()
frequentPatterns = obj.getPatterns()
print(“Total number of Frequent Patterns:”, len(frequentPatterns))
obj.save(oFile)
@@ -816,7 +816,7 @@Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
GPFgrowth.printResults()
GPFgrowth.runTime
GPFgrowth.save()
GPFgrowth.startMine()
GPFgrowth.mine()
Node
PPF_DFS.getRuntime()
PPF_DFS.printResults()
PPF_DFS.save()
PPF_DFS.startMine()
PPF_DFS.mine()
partialPeriodicPatterns.getRuntime()
partialPeriodicPatterns.printResults()
partialPeriodicPatterns.save()
partialPeriodicPatterns.startMine()
partialPeriodicPatterns.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
from PAMI.periodicFrequentPattern.basic import PPP_ECLAT as alg
obj = alg.PPP_ECLAT(iFile, minPS,period)
-obj.startMine()
+obj.mine()
Patterns = obj.getPatterns()
print(“Total number of partial periodic patterns:”, len(Patterns))
obj.save(oFile)
diff --git a/docs/html/PAMI.partialPeriodicPattern.closed.html b/docs/html/PAMI.partialPeriodicPattern.closed.html index c03788c7..243b1afd 100644 --- a/docs/html/PAMI.partialPeriodicPattern.closed.html +++ b/docs/html/PAMI.partialPeriodicPattern.closed.html @@ -169,7 +169,7 @@Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
GThreePGrowth.getRuntime()
GThreePGrowth.printResults()
GThreePGrowth.save()
GThreePGrowth.startMine()
GThreePGrowth.mine()
PPPGrowth.getRuntime()
PPPGrowth.printResults()
PPPGrowth.save()
PPPGrowth.startMine()
PPPGrowth.mine()
PPP_ECLAT.getRuntime()
PPP_ECLAT.printResults()
PPP_ECLAT.save()
PPP_ECLAT.startMine()
PPP_ECLAT.mine()
PPPClose.getRuntime()
PPPClose.printResults()
PPPClose.save()
PPPClose.startMine()
PPPClose.mine()
Max3PGrowth.getRuntime()
Max3PGrowth.printResults()
Max3PGrowth.save()
Max3PGrowth.startMine()
Max3PGrowth.mine()
parallel3PGrowth.printResults()
parallel3PGrowth.save()
parallel3PGrowth.setPartitions()
parallel3PGrowth.startMine()
parallel3PGrowth.mine()
partialPeriodicPatterns.getRuntime()
partialPeriodicPatterns.printResults()
partialPeriodicPatterns.save()
partialPeriodicPatterns.startMine()
partialPeriodicPatterns.mine()
k3PMiner.getRuntime()
k3PMiner.printResults()
k3PMiner.save()
k3PMiner.startMine()
k3PMiner.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Main method where the patterns are mined by constructing tree.
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Code for the mining process will start from this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
import PAMI.partialPeriodicPattern.topk.k3PMiner as alg
obj = alg.Topk_PPPGrowth(iFile, k, period)
-obj.startMine()
+obj.mine()
partialPeriodicPatterns = obj.getPatterns()
print(“Total number of top partial periodic Patterns:”, len(partialPeriodicPatterns))
obj.save(oFile)
@@ -428,8 +428,8 @@Main function of the program
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
from PAMI.periodicFrequentPattern.basic import PPGrowth as alg
obj = alg.PPGrowth(iFile, minSup, maxPer)
-obj.startMine()
+obj.mine()
periodicFrequentPatterns = obj.getPatterns()
print(“Total number of Periodic Frequent Patterns:”, len(periodicFrequentPatterns))
obj.save(oFile)
diff --git a/docs/html/PAMI.periodicCorrelatedPattern.basic.html b/docs/html/PAMI.periodicCorrelatedPattern.basic.html index 82879665..9d680123 100644 --- a/docs/html/PAMI.periodicCorrelatedPattern.basic.html +++ b/docs/html/PAMI.periodicCorrelatedPattern.basic.html @@ -165,7 +165,7 @@Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
EPCPGrowth.getRuntime()
EPCPGrowth.printResults()
EPCPGrowth.save()
EPCPGrowth.startMine()
EPCPGrowth.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
PFECLAT.getRuntime()
PFECLAT.printResults()
PFECLAT.save()
PFECLAT.startMine()
PFECLAT.mine()
PFPGrowth.getRuntime()
PFPGrowth.printResults()
PFPGrowth.save()
PFPGrowth.startMine()
PFPGrowth.mine()
PFPGrowthPlus.getRuntime()
PFPGrowthPlus.printResults()
PFPGrowthPlus.save()
PFPGrowthPlus.startMine()
PFPGrowthPlus.mine()
PFPMC.getRuntime()
PFPMC.printResults()
PFPMC.save()
PFPMC.startMine()
PFPMC.mine()
PSGrowth.getRuntime()
PSGrowth.printResults()
PSGrowth.save()
PSGrowth.startMine()
PSGrowth.mine()
conditionalTransactions()
CPFPMiner.getRuntime()
CPFPMiner.printResults()
CPFPMiner.save()
CPFPMiner.startMine()
CPFPMiner.mine()
MaxPFGrowth.getRuntime()
MaxPFGrowth.printResults()
MaxPFGrowth.save()
MaxPFGrowth.startMine()
MaxPFGrowth.mine()
parallelPFPGrowth.getRuntime()
parallelPFPGrowth.printResults()
parallelPFPGrowth.save()
parallelPFPGrowth.startMine()
parallelPFPGrowth.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Main function of the program
TopkPFPGrowth.getRuntime()
TopkPFPGrowth.printResults()
TopkPFPGrowth.save()
TopkPFPGrowth.startMine()
TopkPFPGrowth.mine()
kPFPMiner.lno
kPFPMiner.printResults()
kPFPMiner.save()
kPFPMiner.startMine()
kPFPMiner.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
RPGrowth.getRuntime()
RPGrowth.printResults()
RPGrowth.save()
RPGrowth.startMine()
RPGrowth.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
RSFPGrowth.getRuntime()
RSFPGrowth.printResults()
RSFPGrowth.save()
RSFPGrowth.startMine()
RSFPGrowth.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
RHUIM.save()
RHUIM.sortDatabase()
RHUIM.sort_transaction()
RHUIM.startMine()
RHUIM.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
import PAMI.sequentialPatternMining.basic.SPAM as alg
obj = alg.SPAM(iFile, minSup)
-obj.startMine()
+obj.mine()
sequentialPatternMining = obj.getPatterns()
print(“Total number of Frequent Patterns:”, len(frequentPatterns))
obj.savePatterns(oFile)
@@ -733,7 +733,7 @@Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
SPADE.makexLenDatabaseSame()
SPADE.printResults()
SPADE.save()
SPADE.startMine()
SPADE.mine()
SPAM.make2BitDatabase()
SPAM.printResults()
SPAM.save()
SPAM.startMine()
SPAM.mine()
prefixSpan.printResults()
prefixSpan.save()
prefixSpan.serchSame()
prefixSpan.startMine()
prefixSpan.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
SPPEclat.getRuntime()
SPPEclat.printResults()
SPPEclat.save()
SPPEclat.startMine()
SPPEclat.mine()
SPPGrowth.getRuntime()
SPPGrowth.printResults()
SPPGrowth.save()
SPPGrowth.startMine()
SPPGrowth.mine()
TSPIN.getRuntime()
TSPIN.printResults()
TSPIN.save()
TSPIN.startMine()
TSPIN.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
GSpan.rightMostPathExtensions()
GSpan.rightMostPathExtensionsFromSingle()
GSpan.save()
GSpan.startMine()
GSpan.mine()
GSpan.subgraphIsomorphisms()
TKG.rightMostPathExtensionsFromSingle()
TKG.save()
TKG.savePattern()
TKG.startMine()
TKG.mine()
TKG.startThreads()
TKG.subgraphIsomorphisms()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
CUFPTree.getRuntime()
CUFPTree.printResults()
CUFPTree.save()
CUFPTree.startMine()
CUFPTree.mine()
PUFGrowth.getRuntime()
PUFGrowth.printResults()
PUFGrowth.save()
PUFGrowth.startMine()
PUFGrowth.mine()
TUFP.getRuntime()
TUFP.printResults()
TUFP.save()
TUFP.startMine()
TUFP.mine()
TUFP.getRuntime()
TUFP.printResults()
TUFP.save()
TUFP.startMine()
TUFP.mine()
TubeS.getRuntime()
TubeS.printResults()
TubeS.save()
TubeS.startMine()
TubeS.mine()
TubeS.updateTransactions()
UFGrowth.getRuntime()
UFGrowth.printResults()
UFGrowth.save()
UFGrowth.startMine()
UFGrowth.mine()
UVEclat.getRuntime()
UVEclat.printResults()
UVEclat.save()
UVEclat.startMine()
UVEclat.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
GFPGrowth.getRuntime()
GFPGrowth.printResults()
GFPGrowth.save()
GFPGrowth.startMine()
GFPGrowth.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
UPFPGrowth.getRuntime()
UPFPGrowth.printResults()
UPFPGrowth.save()
UPFPGrowth.startMine()
UPFPGrowth.mine()
UPFPGrowthPlus.getRuntime()
UPFPGrowthPlus.printResults()
UPFPGrowthPlus.save()
UPFPGrowthPlus.startMine()
UPFPGrowthPlus.mine()
printTree()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
SWFPGrowth.getRuntime()
SWFPGrowth.printResults()
SWFPGrowth.save()
SWFPGrowth.startMine()
SWFPGrowth.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
WFIM.getRuntime()
WFIM.printResults()
WFIM.save()
WFIM.startMine()
WFIM.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
WFRIMiner.getRuntime()
WFRIMiner.printResults()
WFRIMiner.save()
WFRIMiner.startMine()
WFRIMiner.mine()
Mining process will start from here
+Mining process will start from here
Complete set of patterns will be retrieved with this function
startMine() method where the patterns are mined by constructing tree and remove the false patterns by counting the original support of a patterns.
+mine() method where the patterns are mined by constructing tree and remove the false patterns by counting the original support of a patterns.
WUFIM.mine()
WUFIM.printResults()
WUFIM.save()
WUFIM.startMine()
WUFIM.mine()