FIMProject

Frequent Itemset Mining and Frequent Sequence Mining Algorithms package for ARM


Keywords
FIM, Frequent, Itemset, Mining, Sequence, Association, Rule, ARM, apriori, apriori-algorithm, apriori-algorithm-python, association-rule-mining, association-rules, data-mining, data-science, eclat, eclat-algorithm, fpgrowth, frequent-itemset-mining, frequent-pattern-mining, frequent-sequence-mining, hmine, hmine-algorithm, python
License
MIT
Install
pip install FIMProject==0.0.6

Documentation

How to Install

pip install FIMProject

How to Use It

from FIM import apriori, association_rules

freq_items = apriori(df, min_support=0.6, show_colnames=True)
rules = association_rules(freq_items, metric="confidince", min_threshold=0.7)

What is df?

df is a pandas dataframe. It is a table of transactions. Each row is a transaction and each column is an item. The value of each cell is the number of items in the transaction.