Score#
- class Score[source]#
How well a fitted model’s predictions match held-out data with known targets, by one or more scorers: what
fitted.score(data)returns.It maps the name of each scorer to its value, so
score["neg_crps"]reads one, anddict(score)gives them all. Following scikit-learn, every value is one where higher is better: a loss, such as the CRPS or the Brier loss, has its sign flipped, and its name starts withneg_. Printing it shows a short table. It never changes.Like a dict, it is equal to any mapping with the same names and values.
- get(k[, d]) D[k] if k in D, else d. d defaults to None.#
- items() a set-like object providing a view on D's items#
- keys() a set-like object providing a view on D's keys#
- values() an object providing a view on D's values#