摘要: #!C:/Python27/python.exe #coding=gbk import sys __author__ = "junfeng_feng" """Python实现Apri算法 input:数据文件名 最小支持度 ouput:所有频繁项集 支持度 Usage:python Apri.py filename min_surpport Exampe: python Apri.py data.txt 2 3点说明 1、使用Python不到70行的代码,简洁完整的实现Apri算法 2、使用内存存放数据(Python会做相应大文件的优化) 3、 阅读全文
posted @ 2012-06-05 20:13 junfeng_feng 阅读(544) 评论(0) 推荐(0) 编辑