Class Confidence
- java.lang.Object
-
- elki.itemsetmining.associationrules.interest.Confidence
-
- All Implemented Interfaces:
InterestingnessMeasure
@Reference(authors="R. Agrawal, T. Imielinski, A. Swami", title="Mining association rules between sets of items in large databases", booktitle="Proc. ACM SIGMOD International Conference on Management of Data", url="https://doi.org/10.1145/170036.170072", bibkey="DBLP:conf/sigmod/AgrawalIS93") public class Confidence extends java.lang.Object implements InterestingnessMeasure
Confidence interestingness measure, \( \tfrac{\text{support}(X \cup Y)}{\text{support}(X)} = \tfrac{P(X \cap Y)}{P(X)}=P(Y|X) \).Reference:
R. Agrawal, T. Imielinski, A. Swami
Mining association rules between sets of items in large databases
Proc. ACM SIGMOD International Conference on Management of Data- Since:
- 0.7.5
- Author:
- Frederic Sautter
-
-
Constructor Summary
Constructors Constructor Description Confidence()
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
-
-