org.knime.base.node.mine.subgroupminer.freqitemset
Class AssociationRule

java.lang.Object
  extended by 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.
 
Method Summary
 FrequentItemSet getAntecedent()
           
 double getConfidence()
           
 FrequentItemSet getConsequent()
           
 double getLift()
           
 double getSupport()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 rule
antecedent - the antecedent of the rule
confidence - the confidence of the rule
support - the support of the rule
Method Detail

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.