Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)