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
  • Consider the data set of market basket transactions shown in following table: Customer ID Transaction ID...

    Consider the data set of market basket transactions shown in following table: Customer ID Transaction ID Items Bought 1 0001 {a,d,e,f} 1 0024 {a,b,c} 2 0012 {b,d,e,f} 2 0031 {a,c,e} 3 0015 {b,d,f} 3 0022 {a,b} 4 0029 {a,b,c} 4 0040 {a,b,d,e} 5 0033 {e,b,d} 5 0038 {f,c,e} Compute the support(%) for itemsets {e}, {b, d}, and {b, d, e} by treating each transaction ID as a market basket. Use the results in part (a) to compute the confidence for...

  • Table 1: Data set of market-basket transactions ansaction ID Items Bought [A, B, D, E (B, C, D (A...

    Table 1: Data set of market-basket transactions ansaction ID Items Bought [A, B, D, E (B, C, D (A, B, D, E) A, C, D, E) (B,C, D, E B, D, E (C, D) (A, B, C (A, D, E) 6 7 [15 points] Answer the following questions for the data set in Table 1. (a) What is the maximum number of association rules that can be extracted from this data set (including rules that have zero support)? (b) What...

  • (1)A database has five transactions (T100 to T500) as shown in the table below. Let min sup-3 and...

    (1)A database has five transactions (T100 to T500) as shown in the table below. Let min sup-3 and mi-conf-8090. TID T100 M, O, N, K, E, Y T200 D, O, N, K, E, Y ) T300{M, A, K, E) T400 M, U, C, K, Y) T500 | {C, О. О. К. 1 ,E) items bought Find all the frequent itemset晜using Apriori algorithm. You must show the contents of Ck and Lk tables in each step (please refer to your lecture...

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