Note
Click here to download the full example code
ScoreCard printing to console, three modes
# mkdocs_gallery_thumbnail_path = 'images/example_thumnail.png'
import numpy as np
from krisi import score
scorecard = score(y=np.random.random(1000), predictions=np.random.random(1000))
scorecard.print() # Same as "extended"
print(scorecard) # Same as "minimal"
scorecard.print("extended")
scorecard.print("minimal")
scorecard.print("minimal_table")
Total running time of the script: ( 0 minutes 0.000 seconds)
Download Python source code: scorecard_printing_methods.py