public interface AprioriAlgorithm
|Modifier and Type||Method and Description|
This is the method to start with when mining for frequent itemsets.
Returns the association rules generated from the found frequent itemsets with the passed minimal confidence.
Returns the found frequent itemsets according to their type, which can either be FREE, CLOSED or MAXIMAL.
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 database
minSupport- the minimum support as an absolute value
maxDepth- the maximal length of an itemset
type- the desired type of the frequent itemsets
exec- the execution monitor
CanceledExecutionException- if the execution was cancelled
List<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
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.