Class Conviction
- java.lang.Object
-
- elki.itemsetmining.associationrules.interest.Conviction
-
- All Implemented Interfaces:
InterestingnessMeasure
@Reference(authors="S. Brin, R. Motwani, J. D Ullman, S Tsur", title="Dynamic itemset counting and implication rules for market basket data", booktitle="Proc. 1997 ACM SIGMOD international conference on management of data", url="https://doi.org/10.1145/253260.253325", bibkey="DBLP:conf/sigmod/BrinMUT97") public class Conviction extends java.lang.Object implements InterestingnessMeasure
Conviction interestingness measure: \(\frac{P(X) P(\neg Y)}{P(X\cap\neg Y)}\).Reference:
S. Brin, R. Motwani, J. D Ullman, S Tsur
Dynamic itemset counting and implication rules for market basket data
In Proc. 1997 ACM SIGMOD international conference on management of data- Since:
- 0.7.5
- Author:
- Frederic Sautter
-
-
Constructor Summary
Constructors Constructor Description Conviction()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
measure(int t, int sX, int sY, int sXY)
Computes the value of the measure for a given support values
-
-
-
Method Detail
-
measure
public double measure(int t, int sX, int sY, int sXY)
Description copied from interface:InterestingnessMeasure
Computes the value of the measure for a given support values- Specified by:
measure
in interfaceInterestingnessMeasure
- Parameters:
t
- Total number of transactionsX
- Support of the antecedentsY
- Support of the consequentsXY
- Support of the union of antecedent and consequent- Returns:
- value of the measure
-
-