1.support((apple,banana)->cherry) = 1/7 = 14.29% (7个交易中有一个交易是同时购买了三件商品)
confidence((apple,banana)->cherry) = 1/2 = 50% (同时购买了apple 和banana的有两个交易,其中一个交易也购买了cherry,所以置信度是50%)
2.support(banana->durian) = 4/7 = 57.14% >0.4,故满足条件
3.confidence((apple,cherry)->durian) = 2/2 = 100%>0.8 ,故满足条件