Note
Click here to download the full example code
ScoreCard as pandas DataFrame
# mkdocs_gallery_thumbnail_path = 'images/example_thumnail.png'
import numpy as np
from krisi import score
df = score(y=np.random.random(1000), predictions=np.random.random(1000)).get_ds()
print(df)
Total running time of the script: ( 0 minutes 0.000 seconds)
Download Python source code: scorecard_to_series.py