Question: Task: Frequent Itemset Mining using FP - treePlease write a program to implement the FP - tree growth algorithm and find all frequent itemsets with

Task: Frequent Itemset Mining using FP-treePlease write a program to implement the FP-tree growth algorithm and find all frequent itemsets with support >=400 in the given dataset. Note that your program cannot call an existing implementation of FP-tree to do the job. Inputtopic-x.txt:The input file of your frequent pattern mining algorithms. Each line represents a transaction with indices of terms.format: term1_index term2_index term3_index ...Columns are separated by a space.vocab.txt:The dictionary that maps term index to term. format: term_index term.Columns are separated by a space.Outputpattern-x.txt:This is the file you need to submit, which contains your results for this frequent pattern mining task. Each line represents a transaction with frequent itemsets sorted in descending order of support count.format: support_count term1 term2...support_count and term1 are separated by a tab, while terms are separated by a space.Here we give an example (for illustrating purposes only):433 rule association430 random427 finding403 mining patternEvaluationThis coding assignment will be evaluated based on the correctness of your program (80%), readability (10%), and efficiency (10%)Sample InputYou can download the following .zip file for sample inputs. C1-data-1.zip

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!