Skip to content

Commit

Permalink
Merge pull request #355 from vanithakattumuri/main
Browse files Browse the repository at this point in the history
updated full documentation
  • Loading branch information
udayRage authored Apr 7, 2024
2 parents 2cc1878 + 8df3e9b commit 66bec6b
Show file tree
Hide file tree
Showing 772 changed files with 41,952 additions and 22,713 deletions.
2 changes: 0 additions & 2 deletions PAMI/frequentPattern/cuda/cudaAprioriGCT.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,9 @@
# import abstract as _ab

import os
import csv
import time
import numpy as np
import pycuda.gpuarray as gpuarray
import pycuda.autoinit
import psutil


Expand Down
4 changes: 2 additions & 2 deletions PAMI/georeferencedFrequentPattern/basic/FSPGrowth.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@


from PAMI.georeferencedFrequentPattern.basic import abstract as _ab
from typing import List, Dict, Tuple, Set, Union, Any, Generator
from typing import List, Dict
from deprecated import deprecated

class _Node:
Expand Down Expand Up @@ -146,7 +146,7 @@ def linkNode(self, node):
self.nodeLink[node.item] = []
self.nodeLink[node.item].append(node)

def createCPB(self, item, neighbour) :
def createCPB(self, item, neighbour):
"""
Create conditional pattern base based on item and neighbour
Expand Down
6 changes: 3 additions & 3 deletions PAMI/highUtilityPattern/basic/efimParallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ class efimParallel(_ab._utilityPatterns):
.. note:: maxMemory will be considered as Maximum memory used by this program for running
Sample run of importing the code:
--------------------------------------
**Importing this algorithm into a python program**
-------------------------------------------------------
.. code-block:: python
from PAMI.highUtilityPattern.basic import efimParallel as alg
Expand Down Expand Up @@ -190,7 +190,7 @@ class efimParallel(_ab._utilityPatterns):
print("Total ExecutionTime in seconds:", run)
**Credits:**
-----------------------------
----------------
The complete program was written by Tarun Sreepada under the supervision of Professor Rage Uday Kiran.
"""

Expand Down
5 changes: 1 addition & 4 deletions PAMI/highUtilityPatternsInStreams/SHUGrowth.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
#





import abstract as _hus
import pandas as pd
from functools import reduce
Expand Down Expand Up @@ -141,7 +138,7 @@ class _HeaderTable:
representing the header table
orderedItems : list
list of items in the header table in lexicographical order
List of items in the header table in lexicographical order
:Methods:
Expand Down
1 change: 1 addition & 0 deletions PAMI/highUtilitySpatialPattern/topk/TKSHUIM.py
Original file line number Diff line number Diff line change
Expand Up @@ -1007,3 +1007,4 @@ def main():
# print("Total Memory in RSS", _ap.getMemoryRSS())
# print("Total ExecutionTime in seconds:", _ap.getRuntime())
# print("Error! The number of input parameters do not match the total number of parameters provided")

2 changes: 0 additions & 2 deletions PAMI/partialPeriodicPatternInMultipleTimeSeries/PPGrowth.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,8 @@
"""

from PAMI.PartialperiodicPatternMultipleTimeSeries.basic import abstract as _ab
import pandas as pd
from deprecated import deprecated

from PAMI.partialPeriodicPatternInMultipleTimeSeries import abstract as _ab


Expand Down
2 changes: 0 additions & 2 deletions PAMI/periodicFrequentPattern/topk/TopkPFP/TopkPFP.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@
import pandas as pd
from deprecated import deprecated

from PAMI.periodicFrequentPattern.topk import abstract as _ab


class TopkPFPGrowth(_ab._periodicFrequentPatterns):
"""
Expand Down
4 changes: 1 addition & 3 deletions PAMI/relativeHighUtilityPattern/basic/RHUIM.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,10 @@
Copyright (C) 2021 Rage Uday Kiran
"""
from PAMI.RelativeHighUtilityPattern.basic import abstract as _ab

import pandas as pd
from deprecated import deprecated

from PAMI.relativeHighUtilityPattern.basic import abstract as _ab
from typing import List, Dict, Tuple, Set, Union, Any, Generator


class _Transaction:
Expand Down
2 changes: 1 addition & 1 deletion PAMI/sequentialPatternMining/basic/SPADE.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"""

from PAMI.SequentialPatternMining.basic import abstract as _ab

import pandas as pd
from deprecated import deprecated

Expand Down
7 changes: 2 additions & 5 deletions PAMI/sequentialPatternMining/basic/SPAM.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,12 @@
"""

from PAMI.SequentialPatternMining.basic import abstract as _ab

import pandas as pd
from deprecated import deprecated

from PAMI.sequentialPatternMining.basic import abstract as _ab

from PAMI.sequentialPatternMining.basic import abstract as _ab
import sys
sys.setrecursionlimit(10000)
_ab._sys.setrecursionlimit(10000)

class SPAM(_ab._sequentialPatterns):
"""
Expand Down
1 change: 0 additions & 1 deletion PAMI/sequentialPatternMining/basic/prefixSpan.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
Copyright (C) 2021 Rage Uday Kiran
"""

from PAMI.SequentialPatternMining.basic import abstract as _ab
import pandas as pd
from deprecated import deprecated

Expand Down
2 changes: 0 additions & 2 deletions PAMI/stablePeriodicFrequentPattern/basic/SPPEclat.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@
Copyright (C) 2021 Rage Uday Kiran
"""

from PAMI.stableperiodicFrequentPattern.basic import abstract as _ab
import pandas as pd
from deprecated import deprecated

Expand Down
1 change: 0 additions & 1 deletion PAMI/uncertainFaultTolerantFrequentPattern/VBFTMine.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""

from PAMI.uncertainFaultTolerantFrequentFrequentPattern.basic import abstract as _ab
import pandas as pd
from deprecated import deprecated

Expand Down
3 changes: 1 addition & 2 deletions PAMI/uncertainFrequentPattern/basic/CUFPTree.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,11 @@
"""

from PAMI.uncertainFrequentPattern.basic import abstract as _ab
import pandas as pd
from deprecated import deprecated

from PAMI.uncertainFrequentPattern.basic import abstract as _ab
from typing import List, Dict, Tuple, Set, Union, Any, Generator
from typing import List, Tuple


_minSup = str()
Expand Down
Loading

0 comments on commit 66bec6b

Please sign in to comment.