Skip to content

Note

Click here to download the full example code

ScoreCard Saving

# mkdocs_gallery_thumbnail_path = 'images/example_thumnail.png'

import numpy as np

from krisi import score
from krisi.evaluate.type import SaveModes

scorecard = score(y=np.random.rand(1000), predictions=np.random.rand(1000))
scorecard.save(
    save_modes=[
        SaveModes.minimal,
        SaveModes.obj,
        SaveModes.text,
        SaveModes.svg,
        SaveModes.html,
        SaveModes.text,
    ]  # Optional, defaults to [ SaveModes.minimal, SaveModes.obj, SaveModes.text ]
)

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

Download Python source code: scorecard_saving.py

Download Jupyter notebook: scorecard_saving.ipynb

Gallery generated by mkdocs-gallery