Skip to content

This is a project in my class named Algorithm. You can choose different database in this code. I provide three database to choose. Pleace Download three txt files in your computer,and write correct file path in gFilePath.

Notifications You must be signed in to change notification settings

PoChuanHuang/FPgrowth_Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Frequent Pattern growth Algorithm for Association Rule Mining

This is a project in my class named Algorithm. You can choose different database in this code. I provide three database to choose. Pleace Download three txt files in your computer,and write correct file path in gFilePath.

  1. BMS1_itemset_mining.txt
  2. mushrooms.txt
  3. T10I4D100K.txt
public static String gFilePath = "";

You can set the threshold value by youself,the value is percent,and you can get the different result.(ex:80 is 80%)

public static float threshold=80;

In console,you can see...

  1. The File Name

  2. The threshold

  3. The FP_Tree

  4. Product Combination Sepically,You can see each product combination that have a tree for it.

  5. TotalCount

  6. Using Time

About

This is a project in my class named Algorithm. You can choose different database in this code. I provide three database to choose. Pleace Download three txt files in your computer,and write correct file path in gFilePath.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages