Skip to content

SongDark/FPgrowth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FP-growth Algorithm

Codes mainly come from "Machine Learning in Action", please refer to the book if you're interested in.

A bug is found and fixed in createFPtree function, i.e., the sorting part.

FP-growth functions are in fpgrowth.py.

Two examples using FP-growth to discover frequent sets are provided in main.py.

Please download kosarak.dat from here.

Usage

python main.py

Reference

About

FP-growth codes in "Machine Learning in Action"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages