Based on the transactions as shown in the table below, answer the following ques
ID: 3861787 • Letter: B
Question
Based on the transactions as shown in the table below, answer the following questions. What are the absolute supports for the following itemsets: {Beer}. {Diaper}, and {Beer. Tylenol}? What are the confidences for the following association rules: {Beer} rightarrow {Diaper}. {Diaper} rightarrow {Beer}? Is {Beer, Cheese, Diaper, Tylenol} closed (min_sup = 1)? Please explain your answer. Is {Beer, Cheese, Diaper} closed (min_sup = 1)? Please explain your answer. Is {Beer, Cheese, Diaper} a max pattern (min_sup = 1) Please explain your answer. If an itemset is a max pattern does that mean it is also a closed pattern? If yes, explain why. If not, provide a counter example.Explanation / Answer
Absolute support:It is given as no.of transactions that contains given itemset
absolute support of {Beer}=4
absolute support of {Diaper}=3
absolute support of {Beer,Tylenol}=2
2)confidence of {Beer}->{Diaper} =support of Beer,Diaper/support of Beer
=3/4
confidence of {Diaper}->{Beer}=support of Diaper,Beer/suppoer of Diaper
=3/4
3)given set included in only one transaction.i.e,min support of that itemset=1.
No other superset of given itemset is not possible and doesn't give minimum support 1.
so,given set is closed
4){Beer,cheese,Diaper}having support 2 which is greater than min.support.But,{Beer,Cheese,Diaper,Tylenol}possible with min.support 1.so,given set is not closed
5){Beer,Cheese,Diaper}is a frequent item set which has support 2.no other superset of this itemset having that support 2.so,given set is a max pattern
6)No,if given itemset is a max pattern it won't be closed pattern.
example:{Beer,Cheese,Diaper} is max pattern but it is not closed.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.