Skip to content

Note

Click here to download the full example code

Figures individually saved

# mkdocs_gallery_thumbnail_path = 'images/example_thumnail.png'

import numpy as np

from krisi import score
from krisi.report.type import DisplayModes

sc = score(
    y=np.random.random(1000),
    predictions=np.random.random(1000),
    model_name="<your_model_name>",
    dataset_name="<your_dataset_name>",
    project_name="Example Project",
)

sc.generate_report(
    display_modes=[DisplayModes.direct_save],
)

Total running time of the script: ( 0 minutes 0.000 seconds)

Download Python source code: report_direct_save.py

Download Jupyter notebook: report_direct_save.ipynb

Gallery generated by mkdocs-gallery