@Reference(authors="G. Piatetsky-Shapiro", title="Discovery, analysis, and presentation of strong rules", booktitle="Knowledge Discovery in Databases 1991", bibkey="DBLP:books/mit/PF91/Piatetsky91") public class Leverage extends java.lang.Object implements InterestingnessMeasure
\[ \text{support}(X\Rightarrow Y)-\text{support}(X)\text{support}(Y) =P(X\cap Y)-P(X)P(Y) \]
Reference:
G. Piatetsky-Shapiro
Discovery, analysis, and presentation of strong rules
In Knowledge Discovery in Databases 1991
Constructor and Description |
---|
Leverage()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
measure(int t,
int sX,
int sY,
int sXY)
Computes the value of the measure for a given support values
|
public double measure(int t, int sX, int sY, int sXY)
InterestingnessMeasure
measure
in interface InterestingnessMeasure
t
- Total number of transactionsX
- Support of the antecedentsY
- Support of the consequentsXY
- Support of the union of antecedent and consequentCopyright © 2019 ELKI Development Team. License information.