ca.pfv.spmf.algorithms.frequentpatterns.MSApriori
Class AlgoMSApriori
- java.lang.Object
-
- ca.pfv.spmf.algorithms.frequentpatterns.MSApriori.AlgoMSApriori
-
public class AlgoMSApriori extends java.lang.ObjectThis is an implementation of the MSApriori algorithm as described by :
Bing Liu et al. (1999). Mining Association Rules with Multiple Minimum Supports, Proceedings of KDD 1999.
This implementation was made by AZADEH SOLTANI based on the Apriori implementation by Philippe Fournier-Viger- See Also:
Itemset
-
-
Constructor Summary
Constructors Constructor and Description AlgoMSApriori()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidprintStats()Print statistics about the latest execution of the algorithm to System.out.voidrunAlgorithm(java.lang.String input, java.lang.String output, double beta, double LS)Run the algorithm
-
-
-
Method Detail
-
runAlgorithm
public void runAlgorithm(java.lang.String input, java.lang.String output, double beta, double LS) throws java.io.IOExceptionRun the algorithm- Parameters:
input- an input file containing a transaction databaseoutput- an output file path for writing the resultbeta- the parameter Beta for generating MIS values for all items (see paper)LS- the parameter LS for generating MIS values for all items (see paper)- Throws:
java.io.IOException- exception if error while writing the output file
-
printStats
public void printStats()
Print statistics about the latest execution of the algorithm to System.out.
-
-
DMelt 3.0 © DataMelt by jWork.ORG