Description Usage Arguments Examples
View source: R/measures_binaryclass.R
The Brier score is defined as the quadratic difference between the probability and the value (1,0) for the class. That means we use the numeric representation 1 and 0 for our target classes. It is similiar to the mean squared error in regression. multiclass.brier is the sum over all one vs. all comparisons and for a binary classifcation 2 * brier.
1 | Brier(probabilities, truth, negative, positive)
|
probabilities |
[numeric] vector of predicted probabilities |
truth |
vector of true values |
negative |
negative class |
positive |
positive class |
1 2 3 4 5 6 7 8 |
[1] 0.4258912
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.