Frequent Itemset Mining and Frequent Sequence Mining Algorithms package for ARM
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
FIMProject-0.0.6.tar.gz
(8.9 kB
view hashes)
Built Distribution
FIMProject-0.0.6-py3-none-any.whl
(11.8 kB
view hashes)
Close
Hashes for FIMProject-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae3f7d18c45643f52de3ead4da8869640477ab44cd3cfa57842496ef90f9ed99 |
|
MD5 | 10f9679d3322dfcb407afcd49ddb773a |
|
BLAKE2b-256 | 721984e9898515223b4e14c3aba1fda9f2841112069a56413b32e97f974460c9 |