Skip to content

Note

Click here to download the full example code

Figures individually opened in browser or inline in Jupyter Notebook

# 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],
)

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

Download Python source code: report_direct.py

Download Jupyter notebook: report_direct.ipynb

Gallery generated by mkdocs-gallery