Documentation of 'ca.pfv.spmf.algorithms.associationrules.agrawal94_association_rules.AssocRule' Java class
AssocRule
ca.pfv.spmf.algorithms.associationrules.agrawal94_association_rules

Class AssocRule



  • public class AssocRule
    extends Rule
    This class represent an association rule used by the Agrawal algorithm such that it uses the lift mesure. * It is based on: Agrawal & al. 1994, IBM Research Report RJ9839, June 1994.
    See Also:
    AlgoAgrawalFaster94, AssocRules
    • Constructor Detail

      • AssocRule

        public AssocRule(int[] itemset1,
                         int[] itemset2,
                         int supportAntecedent,
                         int transactionCount,
                         double confidence,
                         double lift)
        Constructor
        Parameters:
        itemset1 - the antecedent of the rule (an itemset)
        itemset2 - the consequent of the rule (an itemset)
        supportAntecedent - the coverage of the rule (support of the antecedent)
        transactionCount - the absolute support of the rule (integer)
        confidence - the confidence of the rule
        lift - the lift of the rule
    • Method Detail

      • getLift

        public double getLift()
        Get the lift of this rule.
        Returns:
        the lift.
      • print

        public void print()
        Print this rule to System.out.
        Overrides:
        print in class Rule

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.