org.knime.base.node.mine.subgroupminer.freqitemset
Class AssociationRule
java.lang.Object
org.knime.base.node.mine.subgroupminer.freqitemset.AssociationRule
public class AssociationRule
- extends Object
A data structure to encapsulate an association rule.
- Author:
- Fabian Dill, University of Konstanz
Constructor Summary |
AssociationRule(FrequentItemSet antecedent,
FrequentItemSet consequent,
double support,
double confidence,
double lift)
Creates an association rule with the list of ids of the antecedent and an
id as the consequent of this rule. |
AssociationRule
public AssociationRule(FrequentItemSet antecedent,
FrequentItemSet consequent,
double support,
double confidence,
double lift)
- Creates an association rule with the list of ids of the antecedent and an
id as the consequent of this rule.
- Parameters:
consequent
- the consequent of the ruleantecedent
- the antecedent of the ruleconfidence
- the confidence of the rulesupport
- the support of the rule
getSupport
public double getSupport()
- Returns:
- the support of the rule.
getConfidence
public double getConfidence()
- Returns:
- the confidence.
getAntecedent
public FrequentItemSet getAntecedent()
- Returns:
- the antecedent
getLift
public double getLift()
- Returns:
- lift value
getConsequent
public FrequentItemSet getConsequent()
- Returns:
- the consequent
toString
public String toString()
-
- Overrides:
toString
in class Object
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
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.