mirror of
https://github.com/apachecn/ailearning.git
synced 2026-02-13 15:26:28 +08:00
更新 12.FPGrowth文件路径
This commit is contained in:
@@ -332,7 +332,7 @@ if __name__ == "__main__":
|
||||
# print t
|
||||
|
||||
# # 2.新闻网站点击流中挖掘,例如:文章1阅读过的人,还阅读过什么?
|
||||
# parsedDat = [line.split() for line in open('testData/FPGrowth_kosarak.dat').readlines()]
|
||||
# parsedDat = [line.split() for line in open('input/12.FPGrowth/kosarak.dat').readlines()]
|
||||
# initSet = createInitSet(parsedDat)
|
||||
# myFPtree, myHeaderTab = createTree(initSet, 100000)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user