PAMI.extras.fuzzyTransformation package

Submodules

PAMI.extras.fuzzyTransformation.abstract module

PAMI.extras.fuzzyTransformation.temporalToFuzzy module

class PAMI.extras.fuzzyTransformation.temporalToFuzzy.temporalToFuzzy(iFile: str, fuzFile: str, oFile: str, sep: str = '\t')[source]

Bases: _convert

Description:

temporalToFuzzy is used to convert the temporal database into Fuzzy temporal database.

Parameters:
  • iFile – str : Name of the Input file to mine complete set of frequent patterns

  • oFile – str : Name of the output file to store complete set of frequent patterns

  • fuzFile – str : Name of the Fuzzy File to process set of data.

  • sep – str : This variable is used to distinguish items from one another in a transaction. The default seperator is tab space. However, the users can override their default separator.

Importing this algorithm into a python program

from PAMI.extras.FuzzyTransformation import temporalToFuzzy as db

obj = db.temporalToFuzzy(iFile, FuzFile, oFile, "   " )

obj.startConvert()
startConvert() None[source]

Main method to convert the temporal database into fuzzy database.

PAMI.extras.fuzzyTransformation.transactionalToFuzzy module

class PAMI.extras.fuzzyTransformation.transactionalToFuzzy.transactionalToFuzzy(iFile: str, fuzFile: str, oFile: str, sep: str = '\t')[source]

Bases: _convert

Description:

transactionalToFuzzy is used to convert the transactional database into Fuzzy transactional database.

Parameters:
  • iFile – str : Name of the Input file to mine complete set of frequent patterns

  • oFile – str : Name of the output file to store complete set of frequent patterns

  • fuzFile – str : Name of the FuzFile to process set of data.

  • sep – str : This variable is used to distinguish items from one another in a transaction. The default seperator is tab space. However, the users can override their default separator.

Attributes:

finalPatternsdict

Storing the complete set of patterns in a dictionary variable

Importing this algorithm into a python program

from PAMI.extras.FuzzyTransformation import transactionalToFuzzy as db

obj = db.transactionalToFuzzy(iFile, FuzFile, oFile, "     " )

obj.startConvert()
startConvert() None[source]

Main method to convert the temporal database into fuzzy database.

PAMI.extras.fuzzyTransformation.utilityToFuzzy module

Module contents