1.ConsiderthedatasetshowninTable1(min_sup=60%,min_conf=70%).(a)FindallfrequentitemsetsusingAprioribytreatingeachtransactionIDasamarketbasket.(b)Usetheresultsinpart(a)tocomputetheconfidencefortheassociationrules{a,b}{c}and{c}{a,b}.Isconfidenceasymmetricmeasure?(c)Listallofthestrongassociationrules(withsupportsandconfidencec)matchingthefollowingmetarule(规则),whereXisavariablerepresentingcustomers,anditemidenotesvariablesrepresentingitems(e.g.“A”,“B”,etc.):Table1.Exampleofmarketbaskettransactions.TIDItems-boughtT1{A,D,B,C}T2{D,A,C,E,B}T3{A,B,E}T4{A,B,D}
2017/3/13 19:05:29
308KB
cs
dm
1