All labs
Support, Confidence, and Lift
A rule with 90% confidence can be worthless. Lift tells you which of your discovered rules carry any information at all.
Ch 7 7.6
Misconception
Unsupervised Learning & Text
18 mindifficulty 3/5Controls
4000
0.600
Pushes milk toward appearing in nearly every basket.
2.500
The one genuine dependence in the data. Below 1 it becomes a repulsion.
2.0%
50%
Rank rules by
Random seed
Every result on this page is a deterministic function of the seed and the controls.
Confidence against lift
Everything above the horizontal line at lift = 1 carries information. Everything below it is a warning.
planted diapers → beerrule concluding “milk”passes both thresholdsfiltered out
Rules passing filters
6
of 42 candidates
Passing but lift < 1
3
A is evidence against B
Planted rule confidence
21.9%
lift 1.90
Top rule by your ranking
diapers → milk
lift 1.02
Top rules by confidence
Sort by confidence and by lift, and compare the two lists.
| rule | support | confidence | lift | leverage | conviction |
|---|---|---|---|---|---|
| diapers → milk | 0.062 | 0.734 | 1.018 | 0.0011 | 1.05 |
| bread → milk | 0.249 | 0.730 | 1.013 | 0.0032 | 1.04 |
| beer → milk | 0.084 | 0.727 | 1.009 | 7.82e-4 | 1.02 |
| coffee → milk | 0.139 | 0.715 | 0.992 | -0.0011 | 0.98 |
| eggs → milk | 0.177 | 0.709 | 0.983 | -0.0030 | 0.96 |
| batteries → milk | 0.037 | 0.692 | 0.960 | -0.0015 | 0.91 |
Confidence rewards popularity, not association
“diapers → milk” has confidence 73.4% and lift 1.02. Milk is simply in most baskets, so almost any antecedent predicts it. Lift divides by P(milk) and the apparent finding collapses.
