Note
Click here to download the full example code
Basic Loading
# mkdocs_gallery_thumbnail_path = 'images/example_thumnail.png'
import numpy as np
from krisi import score
from krisi.evaluate.type import Calculation
datasize = 250
score(
y=np.random.rand(datasize),
predictions=np.random.rand(datasize),
calculation=Calculation.rolling,
).print()
score(
y=np.random.rand(datasize),
predictions=np.random.rand(datasize),
calculation=Calculation.rolling,
)
Total running time of the script: ( 0 minutes 0.000 seconds)
Download Python source code: evaluate_rolling.py