Description Usage Arguments Examples
View source: R/measures_multiclass.R
Defined as: mean(p_i(sum_j(p_ij))), where p_i is the predicted probability of the true class of observation i and p_ij is the predicted probablity of observation i for class j. See: Bickel, J. E. (2007). Some comparisons among quadratic, spherical, and logarithmic scoring rules. Decision Analysis, 4(2), 49-65.
1 | SSR(probabilities, truth)
|
probabilities |
[numeric] vector (or matrix with column names of the classes) of predicted probabilities |
truth |
vector of true values |
1 2 3 4 5 6 7 | |
[1] 0.4400946
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.