Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/fpPublic

FPGrowth(Frequent Pattern Mining) implementation in C# .NET

License

NotificationsYou must be signed in to change notification settings

shawpan/fp

Repository files navigation

FP-Growth using FP-Tree(frequent pattern mining from databases without candidate generation) algorithm implementation in C# .Net

For inputs and outputs File System is used here. Other kind of databases can be used by implementing IInputDatabaseHelper.cs and IOutputDatabaseHelper.cs interfaces.

Path for input file is given in App.config file (change this value for other input files)

Path for output file is given in FileOutputDatabaseHelper constructor (change this value for other output paths)

Program.cs file shows a sample usage

Sample Usage

static void Main(string[] args)        {            IInputDatabaseHelper inDatabaseHelper = new FileInputDatabaseHelper("mushroom");            IOutputDatabaseHelper outDatabaseHelper = new FileOutputDatabaseHelper(@"D:\Data_Mining_Assignment\FPGrowth\Result\");            FPGrowth fpGrowth = new FPGrowth();            fpGrowth.CreateFPTreeAndGenerateFrequentItemsets(                inDatabaseHelper,outDatabaseHelper,0.74f);                    }

Unit Test Project

Unit Test Project FPTests is also included with a few unit tests implemented.

About

FPGrowth(Frequent Pattern Mining) implementation in C# .NET

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp