ML: Recommendation: Association Rules

Apriori algorithm:

Suppose we have three transactions, we can use association rules mining to provide recommendations for sales:

A lift value greater than 1 indicates the rule head and rule body associate more often together than expected (radom).