ca.pfv.spmf.algorithms.frequentpatterns.aprioriTID
Class AlgoAprioriTID_Bitset
- java.lang.Object
-
- ca.pfv.spmf.algorithms.frequentpatterns.aprioriTID.AlgoAprioriTID_Bitset
-
public class AlgoAprioriTID_Bitset extends java.lang.ObjectThis is an implementation of the AprioriTID algorithm. This version is very fast because it uses bit vector for representing TID SETS (transaction id sets).
The AprioriTID algorithm finds all the frequents itemsets and their support in a transaction database and save them to file.
AprioriTID was originally proposed in :
Agrawal R, Srikant R. "Fast Algorithms for Mining Association Rules", VLDB. Sep 12-15 1994, Chile, 487-99,- See Also:
Itemset
-
-
Constructor Summary
Constructors Constructor and Description AlgoAprioriTID_Bitset()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidprintStats()Print statistics about the algorithm execution to System.out.voidrunAlgorithm(java.lang.String input, java.lang.String output, double minsup)voidsetMaxItemsetSize(int maxItemsetSize)Set the maximum itemset size of itemsets to be found
-
-
-
Method Detail
-
runAlgorithm
public void runAlgorithm(java.lang.String input, java.lang.String output, double minsup) throws java.lang.NumberFormatException, java.io.IOException- Throws:
java.lang.NumberFormatExceptionjava.io.IOException
-
setMaxItemsetSize
public void setMaxItemsetSize(int maxItemsetSize)
Set the maximum itemset size of itemsets to be found- Parameters:
maxItemsetSize- maximum itemset size.
-
printStats
public void printStats()
Print statistics about the algorithm execution to System.out.
-
-
DMelt 3.0 © DataMelt by jWork.ORG