Description Usage Arguments Value Examples
Function used to compute Brier Score, a measure of probability calibration.
1 | brierScore(phat, truth, positive = 1)
|
phat |
probability of a instance to belogn to the class positive |
truth |
class of the instance |
positive |
value of the positive (minority) class |
Brier Score statistics
1 2 3 | truth <- c(1,1,1,0,0,0,1,0,1,0)
phat <- c(0.9,0.8,0.4,0.5,0.3,0.2,0.8,0.3,0.8,0.3)
brierScore(phat, truth, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.