firefly-cpp / NiaARM

A minimalistic framework for Numerical Association Rule Mining
MIT License
15 stars 6 forks source link

Add visualization #49

Closed zStupan closed 2 years ago

zStupan commented 2 years ago

I will add examples and more documentation on visualization in the future. And probably an improved interface.

Basic usage:

import matplotlib.pyplot as plt
from niaarm.visualize import tdf

# load dataset...
# get rules...

fig, ax = tdf(rule, transactions)
plt.show()
firefly-cpp commented 2 years ago

Wonderful! May I recommend changing the title of the visualization scheme from tdf to hill slopes (e.g. hill_slopes())?