Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zverianskii/python-arulesviz
Arulesviz - interactive association rules vizualization tool for python
https://github.com/zverianskii/python-arulesviz
apriori apriori-algorithm arules arules-vizualization association-rules bqplot jupyter visualization
Last synced: 2 months ago
JSON representation
Arulesviz - interactive association rules vizualization tool for python
- Host: GitHub
- URL: https://github.com/zverianskii/python-arulesviz
- Owner: zverianskii
- License: mit
- Created: 2020-04-05T12:45:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-22T10:47:49.000Z (over 4 years ago)
- Last Synced: 2024-10-14T11:41:23.761Z (3 months ago)
- Topics: apriori, apriori-algorithm, arules, arules-vizualization, association-rules, bqplot, jupyter, visualization
- Language: Python
- Homepage:
- Size: 25.5 MB
- Stars: 24
- Watchers: 3
- Forks: 15
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Association rules visualisation with Python
Python-arulesviz is a port of an incredible R's library [arulesviz](https://cran.r-project.org/web/packages/arulesViz/vignettes/arulesViz.pdf). If familiar with R I would highly recommend to try it.
Python-arulesviz works as a jupyter-notebook widget ([Video (30mb)](/data/demo.gif)):
![](/data/preview.png)## Install:
``` bash
pip install arulesviz
```## Usage:
``` python
g = Arulesviz(transactions, 0.001, 0.3, 12, products_to_drop=[])
g.create_rules()
g.plot_graph(width=1800, directed=False, charge=-150, link_distance=20)
```## [Detailed examples](/examples/groceries.ipynb)