Skip to content

Commit 28cd4af

Browse files
authored
Merge pull request #357 from charan-teja2003/main
extras and local periodic patterns
2 parents ee756f4 + 981f655 commit 28cd4af

10 files changed

+267
-101
lines changed

PAMI/extras/convertMultiTSIntoFuzzy.py

+18-6
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@
99
#
1010
# obj.save()
1111
#
12-
# obj.startMine()
12+
# obj.mine()
1313
#
1414

15+
16+
17+
1518
__copyright__ = """
16-
Copyright (C) 2021 Rage Uday Kiran
19+
Copyright (C) 2021 Rage Uday Kiran
1720
1821
This program is free software: you can redistribute it and/or modify
1922
it under the terms of the GNU General Public License as published by
@@ -53,8 +56,7 @@ class convertMultipleTSIntoFuzzy():
5356
5457
obj.save()
5558
56-
obj.startMine()
57-
59+
obj.mine()
5860
5961
"""
6062

@@ -167,14 +169,24 @@ def save(self, outputFile: str) -> None:
167169
# break
168170
writer.write("%s\n" %s2)
169171

170-
172+
@deprecated("It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated.")
171173
def startMine(self) -> None:
172-
""" Frequent pattern mining process will start from here
174+
"""
175+
Frequent pattern mining process will start from here
173176
"""
174177

175178
self._creatingItemSets()
176179
self._fuzzyMembershipFunc()
177180
self._finalPatterns = {}
181+
182+
def mine(self) -> None:
183+
"""
184+
Frequent pattern mining process will start from here
185+
"""
186+
187+
self._creatingItemSets()
188+
self._fuzzyMembershipFunc()
189+
self._finalPatterns = {}
178190

179191
if __name__ == "__main__":
180192
convertMultipleTSIntoFuzzy(sys.argv[1], sys.argv[2])

PAMI/extras/generateLatexGraphFile.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
#
1212

1313

14+
15+
1416
__copyright__ = """
15-
Copyright (C) 2021 Rage Uday Kiran
17+
Copyright (C) 2021 Rage Uday Kiran
1618
1719
This program is free software: you can redistribute it and/or modify
1820
it under the terms of the GNU General Public License as published by

PAMI/extras/plotPointOnMap.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010
# obj.save()
1111
#
1212

13+
14+
15+
1316
__copyright__ = """
14-
Copyright (C) 2021 Rage Uday Kiran
17+
Copyright (C) 2021 Rage Uday Kiran
1518
1619
This program is free software: you can redistribute it and/or modify
1720
it under the terms of the GNU General Public License as published by

PAMI/extras/plotPointOnMap_dump.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@
99
#
1010
# obj.save()
1111
#
12-
#
12+
13+
14+
15+
1316
__copyright__ = """
14-
Copyright (C) 2021 Rage Uday Kiran
17+
Copyright (C) 2021 Rage Uday Kiran
1518
1619
This program is free software: you can redistribute it and/or modify
1720
it under the terms of the GNU General Public License as published by

PAMI/extras/scatterPlotSpatialPoints.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010
# obj.save()
1111
#
1212

13+
14+
15+
1316
__copyright__ = """
14-
Copyright (C) 2021 Rage Uday Kiran
17+
Copyright (C) 2021 Rage Uday Kiran
1518
1619
This program is free software: you can redistribute it and/or modify
1720
it under the terms of the GNU General Public License as published by
@@ -51,7 +54,6 @@ class scatterPlotSpatialPoints:
5154
5255
obj.save(oFile)
5356
54-
5557
"""
5658

5759
def __init__(self, iFile: str, sep: str = '\t') ->None:

PAMI/extras/topKPatterns.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010
# obj.save()
1111
#
1212

13+
14+
15+
1316
__copyright__ = """
14-
Copyright (C) 2021 Rage Uday Kiran
17+
Copyright (C) 2021 Rage Uday Kiran
1518
1619
This program is free software: you can redistribute it and/or modify
1720
it under the terms of the GNU General Public License as published by

PAMI/extras/uncertaindb_convert.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
#
1212

1313

14+
15+
1416
__copyright__ = """
15-
Copyright (C) 2021 Rage Uday Kiran
17+
Copyright (C) 2021 Rage Uday Kiran
1618
1719
This program is free software: you can redistribute it and/or modify
1820
it under the terms of the GNU General Public License as published by

0 commit comments

Comments
 (0)