Skip to content

Solving the Frequent Itemset Mining problem with Apriori algorithm

Notifications You must be signed in to change notification settings

NgKhaiPhu/Frequent-Itemset-Mining

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Frequent Itemset Mining

This is my submission for the Lab assignment 2 in Data mining class. It is an implementation of Apriori algorithm in order to solve the problem of Frequent Itemset Mining. Except for numpy, no external tools or libraries are allowed for this lab assignment.

Read and explore the dataset

The dataset in this lab is a .csv file containing 10 thousand grocery transactions.

Basic utility functions

  • Cover of an itemset
  • Absolute support of an itemset
  • Relative support of an itemset
  • Check if an itemset is frequent

Apriori algorithm

  • Join 2 k-itemset to form a k+1-itemset (Cal_Self_Join())
  • Prune step (Prune_By_Apriori())
  • Complete Apriori (Frequent_Itemset_Mining_Apriori())

About

Solving the Frequent Itemset Mining problem with Apriori algorithm

Topics

Resources

Stars

Watchers

Forks