public class FrequentItemSetMiner<T> extends java.lang.Object
Constructor and Description |
---|
FrequentItemSetMiner(double supportThreshold)
Constructs a new
FrequentItemSetMiner . |
Modifier and Type | Method and Description |
---|---|
java.util.Set<FrequentItemSet<T>> |
mineFrequentItemSets(java.util.Set<java.util.Set<T>> baskets)
Mines frequent item sets from the given shopping baskets.
|
public FrequentItemSetMiner(double supportThreshold)
FrequentItemSetMiner
.supportThreshold
- [0..1] denotes in what fraction of baskets an item set must occur
to be considered frequent.public java.util.Set<FrequentItemSet<T>> mineFrequentItemSets(java.util.Set<java.util.Set<T>> baskets)
baskets
- the baskets to be analyzed.