ca.pfv.spmf.algorithms.frequentpatterns.clostream
Class AlgoCloSteam
- java.lang.Object
-
- ca.pfv.spmf.algorithms.frequentpatterns.clostream.AlgoCloSteam
-
public class AlgoCloSteam extends java.lang.ObjectThis is an implementation of the CloStream algorithm for mining closed itemsets from a stream as proposed by S.J Yen et al.(2009) in the proceedings of the IEA-AIE 2009 conference, pp.773.
It is a very simple algorithm that do not use a minimum support threshold. It thus finds all closed itemsets.- See Also:
Itemset
-
-
Constructor Summary
Constructors Constructor and Description AlgoCloSteam()Constructor that also initialize the algorithm
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.List<Itemset>getClosedItemsets()Get the current list of closed itemsets without the empty set.voidprocessNewTransaction(Itemset transaction)This method process a new transaction from a stream to update the set of closed itemsets.
-
-
-
Constructor Detail
-
AlgoCloSteam
public AlgoCloSteam()
Constructor that also initialize the algorithm
-
-
Method Detail
-
processNewTransaction
public void processNewTransaction(Itemset transaction)
This method process a new transaction from a stream to update the set of closed itemsets.- Parameters:
transaction- a transaction (Itemset)
-
getClosedItemsets
public java.util.List<Itemset> getClosedItemsets()
Get the current list of closed itemsets without the empty set.- Returns:
- a List of closed itemsets
-
-
DMelt 3.0 © DataMelt by jWork.ORG