|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AprioriAlgorithm
This is an interface to hide the different implementations of the apriori
algorithm to the Nodes. If a class implements this interface and the user
should be able to select this type of algorithm, you should also change the
AprioriAlgorithmFactory
.
Method Summary | |
---|---|
void |
findFrequentItemSets(List<BitVectorValue> transactions,
double minSupport,
int maxDepth,
FrequentItemSet.Type type,
ExecutionMonitor exec)
This is the method to start with when mining for frequent itemsets. |
List<AssociationRule> |
getAssociationRules(double confidence)
Returns the association rules generated from the found frequent itemsets with the passed minimal confidence. |
List<FrequentItemSet> |
getFrequentItemSets(FrequentItemSet.Type type)
Returns the found frequent itemsets according to their type, which can either be FREE, CLOSED or MAXIMAL. |
Method Detail |
---|
void findFrequentItemSets(List<BitVectorValue> transactions, double minSupport, int maxDepth, FrequentItemSet.Type type, ExecutionMonitor exec) throws CanceledExecutionException
transactions
- a list of BitSets representing the bitvectors, thus,
corresponding to the whole databaseminSupport
- the minimum support as an absolute valuemaxDepth
- the maximal length of an itemsettype
- the desired type of the frequent itemsetsexec
- the execution monitor
CanceledExecutionException
- if the execution was cancelledList<FrequentItemSet> getFrequentItemSets(FrequentItemSet.Type type)
type
- the desired type, either free, closed or maximal
List<AssociationRule> getAssociationRules(double confidence)
confidence
- the desired minimal confidence of the rules
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |