HighUtilityPatternMining

class geoanalytics.patternMining.HighUtilityPatternMining.HighUtilityPatternMining(inputFile: str)[source]

Bases: PatternMiner

About this algorithm

Description:

This module implements the EFIM algorithm for mining high utility patterns from utility transactional databases. Unlike traditional frequent pattern mining, this method focuses solely on the utility aspect, discovering itemsets with utility above the specified threshold.

Parameters:
  • inputFile (str): Path to the input utility transactional database file.

Attributes:
  • inputFile (str): The utility transactional input file provided during object initialization.

  • miner (EFIM): Instance of the EFIM algorithm from the PAMI library.

Execution methods

Calling from a Python program

from geoanalytics.patternMining import HighUtilityPatternMining

miner = HighUtilityPatternMining("data/input.txt")

miner.run(minUtil=50)

Credits

Written by M. Charan Teja, under the guidance of Professor Rage Uday Kiran.

run(minUtil: int)[source]

Executes the EFIM algorithm to mine high utility patterns.

Parameters:

minUtil (int) – Minimum utility threshold to identify high utility patterns.

Output:

Prints the discovered high utility patterns to the console.