Class JMeasure
- java.lang.Object
-
- elki.itemsetmining.associationrules.interest.JMeasure
-
- All Implemented Interfaces:
InterestingnessMeasure
@Reference(authors="R. M. Goodman, P. Smyth", title="Rule induction using information theory", booktitle="Knowledge Discovery in Databases 1991", bibkey="DBLP:books/mit/PF91/SmythG91") public class JMeasure extends java.lang.Object implements InterestingnessMeasure
J-Measure interestingness measure. \(P(X\cap Y)\log\tfrac{P(Y|X)}{P(Y)} + P(X\cap \neg Y)\log\tfrac{P(\neg Y|X)}{P(\neg Y)}\).Reference:
R. M. Goodman, P. Smyth
Rule induction using information theory
Knowledge Discovery in Databases 1991- Since:
- 0.7.5
- Author:
- Frederic Sautter
-
-
Constructor Summary
Constructors Constructor Description JMeasure()
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
-
-