Skip to content

Note

Click here to download the full example code

Static, PDF report

# 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",
    calculation="rolling",
)

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

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

Download Python source code: report_pdf.py

Download Jupyter notebook: report_pdf.ipynb

Gallery generated by mkdocs-gallery