Association Rule Mining
Association Rule Mining
•
• Support
• Support refers to the default popularity of any product. You find the support as a quotient of the division of
the number of transactions comprising that product by the total number of transactions. Hence, we get
• Support (Biscuits) = (Transactions relating biscuits) / (Total transactions)
• = 400/4000 = 10 percent.
• Confidence
• Confidence refers to the possibility that the customers bought both biscuits and chocolates together. So, you
need to divide the number of transactions that comprise both biscuits and chocolates by the total number
of transactions to get the confidence.
• Hence,
• Confidence = (Transactions relating both biscuits and Chocolate) / (Total transactions involving Biscuits)
• 200/400
• = 50 percent.
• It means that 50 percent of customers who bought biscuits bought chocolates also.
• How to Create Frequent Item set
• Minimum support is 33%, here total transactions are 12 it means minimum there should be 4 transactions 4/9=33%. If an item is brought 4
times out of 12 then add it in frequent item set, otherwise donot add it o frequent item set