brier_score | R Documentation |
Calculate the Brier Score for classification:
brier_score(true, estimated.prob)
true |
Numeric vector, 0, 1: True labels |
estimated.prob |
Numeric vector, [0, 1]: Estimated probabilities |
BS = \frac{1}{N} \sum_{i=1}^{N} (y_i - p_i)^2
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.