Question

Based on the market basket transactions data given below, calculate the support and confidence values of the association rules R1 through R6. Discuss your observations of the calculation results.

Market Basket Transactions Association Rules: TID 0910 Items {Bread, Milk} {Bread, Diapers, Beer, Eggs {Milk, Diapers, Beer,

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Support:(#transactions containing X and Y)/( Total # of transactions)

Confidence:- (#transactions containing X and Y)/( #transactions containing X)

R1: {Beer,Diapers} -> {Milk}
Support:- 2/5         => 40%
Confidence:- 2/3   => 66.66%

R2:- {Diapers,Milk} --> {Beer}
Support:- 2/5       => 40%
Confidence:- 2/3   => 66.66%

R3:-{Milk}--> {Beer,Diapers}
Support:- 2/5       => 40%
Confidence:- 2/4   => 50%

R4:-{Beer,Milk}-->{Diapers}
Support:- 2/5       => 40%
Confidence:- 2/2   => 100%

R5:- {Beer} --> {Diapers,Milk}
Support:- 2/5       => 40%
Confidence:- 2/3   =>   66.66%

R6:- {Diapers} -->{Beer,Milk}
Support:- 2/5       => 40%
Confidence:- 2/4   => 50%


All the Rules have the same support. (40%)
R1, R2, and R5 have the same confidence of (66.66%)
R3 and R6 have equal and least confidence compared to all (50%)
R4 has high confidence (100%).

Add a comment
Know the answer?
Add Answer to:
Based on the market basket transactions data given below, calculate the support and confidence values of...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT