A package for easing return of multiple values
Project description
Munin
Old Norse: Muninn
Reporting.
This package is a package for generating classification reports. Uses jinja2 templates, see documentation.
Quick Start
pip install munin
Now you can add all your metrics and plots.
from munin import generate_html
from warg import NOD # used for generating a dict with the same keys as names in context
...
metrics = NOD.dict_of(accuracy, precision, f1_score, recall, support).as_flat_tuples()
bundle = NOD.dict_of(title, confusion_matrix, metrics, predictions)
generate_html(file_name, **bundle)
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
Munin-0.2.4.tar.gz
(24.8 kB
view hashes)
Built Distribution
Munin-0.2.4-py36-none-any.whl
(21.5 kB
view hashes)