Finding items that buyers desire to buy is the major goal of market basket analysis. Market basket analysis helps sales and marketing teams develop more effective product placement, pricing, cross-sell, and up-sell tactics
- Apriori Algorithm
- FP growth
What we see above is how often Milk(Consequent) was bought when Bread & Egg (Antecedent) were bought together
- Support
- Confidence
- Lift
Support as an measure gives an idea of how frequent an itemset is in all the transactions. For example, one might want to consider only the itemsets which occur at least 50 times out of a total of 10,000 transactions i.e. support = 0.005. If an itemset happens to have a very low support, we do not have enough information on the relationship between its items and hence no conclusions can be drawn from such a rule.
This measure defines the likeliness of occurrence of consequent on the cart given that the cart already has the antecedents. That is to answer the question — of all the transactions containing say, {Captain Crunch}, how many also had {Milk} on them? We can say by common knowledge that {Captain Crunch} → {Milk} should be a high confidence rule. Technically, confidence is the conditional probability of occurrence of consequent given the antecedent.
Lift is an important measure. A value of lift greater than 1 vouches for high association between {Y} and {X}. More the value of lift, greater are the chances of preference to buy {Y} if the customer has already bought {X}. Lift is the measure that will help store managers to decide product placements on aisle.