File tree 10 files changed +267
-101
lines changed
localPeriodicPattern/basic
10 files changed +267
-101
lines changed Original file line number Diff line number Diff line change 9
9
#
10
10
# obj.save()
11
11
#
12
- # obj.startMine ()
12
+ # obj.mine ()
13
13
#
14
14
15
+
16
+
17
+
15
18
__copyright__ = """
16
- Copyright (C) 2021 Rage Uday Kiran
19
+ Copyright (C) 2021 Rage Uday Kiran
17
20
18
21
This program is free software: you can redistribute it and/or modify
19
22
it under the terms of the GNU General Public License as published by
@@ -53,8 +56,7 @@ class convertMultipleTSIntoFuzzy():
53
56
54
57
obj.save()
55
58
56
- obj.startMine()
57
-
59
+ obj.mine()
58
60
59
61
"""
60
62
@@ -167,14 +169,24 @@ def save(self, outputFile: str) -> None:
167
169
# break
168
170
writer .write ("%s\n " % s2 )
169
171
170
-
172
+ @ deprecated ( "It is recommended to use 'mine()' instead of 'startMine()' for mining process. Starting from January 2025, 'startMine()' will be completely terminated." )
171
173
def startMine (self ) -> None :
172
- """ Frequent pattern mining process will start from here
174
+ """
175
+ Frequent pattern mining process will start from here
173
176
"""
174
177
175
178
self ._creatingItemSets ()
176
179
self ._fuzzyMembershipFunc ()
177
180
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 = {}
178
190
179
191
if __name__ == "__main__" :
180
192
convertMultipleTSIntoFuzzy (sys .argv [1 ], sys .argv [2 ])
Original file line number Diff line number Diff line change 11
11
#
12
12
13
13
14
+
15
+
14
16
__copyright__ = """
15
- Copyright (C) 2021 Rage Uday Kiran
17
+ Copyright (C) 2021 Rage Uday Kiran
16
18
17
19
This program is free software: you can redistribute it and/or modify
18
20
it under the terms of the GNU General Public License as published by
Original file line number Diff line number Diff line change 10
10
# obj.save()
11
11
#
12
12
13
+
14
+
15
+
13
16
__copyright__ = """
14
- Copyright (C) 2021 Rage Uday Kiran
17
+ Copyright (C) 2021 Rage Uday Kiran
15
18
16
19
This program is free software: you can redistribute it and/or modify
17
20
it under the terms of the GNU General Public License as published by
Original file line number Diff line number Diff line change 9
9
#
10
10
# obj.save()
11
11
#
12
- #
12
+
13
+
14
+
15
+
13
16
__copyright__ = """
14
- Copyright (C) 2021 Rage Uday Kiran
17
+ Copyright (C) 2021 Rage Uday Kiran
15
18
16
19
This program is free software: you can redistribute it and/or modify
17
20
it under the terms of the GNU General Public License as published by
Original file line number Diff line number Diff line change 10
10
# obj.save()
11
11
#
12
12
13
+
14
+
15
+
13
16
__copyright__ = """
14
- Copyright (C) 2021 Rage Uday Kiran
17
+ Copyright (C) 2021 Rage Uday Kiran
15
18
16
19
This program is free software: you can redistribute it and/or modify
17
20
it under the terms of the GNU General Public License as published by
@@ -51,7 +54,6 @@ class scatterPlotSpatialPoints:
51
54
52
55
obj.save(oFile)
53
56
54
-
55
57
"""
56
58
57
59
def __init__ (self , iFile : str , sep : str = '\t ' ) -> None :
Original file line number Diff line number Diff line change 10
10
# obj.save()
11
11
#
12
12
13
+
14
+
15
+
13
16
__copyright__ = """
14
- Copyright (C) 2021 Rage Uday Kiran
17
+ Copyright (C) 2021 Rage Uday Kiran
15
18
16
19
This program is free software: you can redistribute it and/or modify
17
20
it under the terms of the GNU General Public License as published by
Original file line number Diff line number Diff line change 11
11
#
12
12
13
13
14
+
15
+
14
16
__copyright__ = """
15
- Copyright (C) 2021 Rage Uday Kiran
17
+ Copyright (C) 2021 Rage Uday Kiran
16
18
17
19
This program is free software: you can redistribute it and/or modify
18
20
it under the terms of the GNU General Public License as published by
You can’t perform that action at this time.
0 commit comments