ca.pfv.spmf.algorithms.frequentpatterns.hui_miner
Class AlgoFHM
- java.lang.Object
-
- ca.pfv.spmf.algorithms.frequentpatterns.hui_miner.AlgoFHM
-
public class AlgoFHM extends java.lang.ObjectThis is an implementation of the "FHM" algorithm for High-Utility Itemsets Mining as described in the conference paper :
Fournier-Viger, P., Wu, C.-W., Zida, S., Tseng, V. (2014) FHM: A Faster High-Utility Itemset Mining Algorithm using Estimated Utility Co-occurrence Pruning. Proc. 21st International Symposium on Methodologies for Intelligent Systems (ISMIS 2014), Springer, LNAI, 12 pages (to appear).- See Also:
UtilityList,Element
-
-
Field Summary
Fields Modifier and Type Field and Description intcandidateCountlongendTimestampinthuiCountdoublemaxMemorylongstartTimestamp
-
Constructor Summary
Constructors Constructor and Description AlgoFHM()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidprintStats()Print statistics about the latest execution to System.out.voidrunAlgorithm(java.lang.String input, java.lang.String output, int minUtility)Run the algorithm
-
-
-
Field Detail
-
maxMemory
public double maxMemory
-
startTimestamp
public long startTimestamp
-
endTimestamp
public long endTimestamp
-
huiCount
public int huiCount
-
candidateCount
public int candidateCount
-
-
Method Detail
-
runAlgorithm
public void runAlgorithm(java.lang.String input, java.lang.String output, int minUtility) throws java.io.IOExceptionRun the algorithm- Parameters:
input- the input file pathoutput- the output file pathminUtility- the minimum utility threshold- Throws:
java.io.IOException- exception if error while writing the file
-
printStats
public void printStats() throws java.io.IOExceptionPrint statistics about the latest execution to System.out.- Throws:
java.io.IOException
-
-
DMelt 3.0 © DataMelt by jWork.ORG