Skip to content

RellRex/python3-fp-growth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python3-fp-growth

fp-growth算法是一个生成频繁项集的算法,其主要利用了FP树的数据结构,整个生成过程只需要遍历数据集2次。

说明

本代码是在 https://github.com/enaeseth/python-fp-growth 基础上做出的更改,但是原代码只支持python2.x,由于python3的变动,代码无法提供支持。这里主要讲代码做了部分更改,更改说明详见博客 https://blog.csdn.net/quiet_girl/article/details/80299940

文件说明

fp_growth_py3.py是功能代码文件,支持python3 test.py是测试文件,可以直接运行。

使用说明

直接将fp_growth_py3.py作为代码文件放入源文件下,调用其中的功能即可。

About

the fp-growth algorithm with python3.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%