The real wordsTheory
The three magic numbers
The professor's own mnemonic: "Think of Support as how often, Confidence as how sure, and Lift as how strong."
Support(A to B) = P(A and B)
= transactions with both / all transactions
Confidence(A to B) = P(B | A)
= transactions with both / transactions with A
Lift(A to B) = P(B | A) / P(B)
= Confidence(A to B) / Support(B)
All three come from three counts: baskets with both, baskets with A, and baskets with B.