利用python实现《数据挖掘——概念与技术》一书中描述的Apriori算法
摘要:
1 from itertools import combinations 2 3 data = [['I1', 'I2', 'I5'], ['I2', 'I4'], ['I2', 'I3'], ['I1', 'I2', 'I4'], ['I1', 'I3'], 4 ['I2', 'I3'], ['I1', 'I3'], ['I1 阅读全文
posted @ 2017-11-05 20:54 司徒道 阅读(466) 评论(0) 推荐(0) 编辑