Description Usage Arguments Value Examples
Calculate logloss or cross-entropy for a set of predictions.
1 |
prediction |
A vector of estimated probabilities. |
outcome |
A vector of observed outcomes. |
tol |
Numerical tolerance. Can also be used to threshold errors for really bad predictions, or when you don't want a model to be penalized too strongly in the presence of high dispersion. Default is .Machine$double.neg.eps. |
a numeric vector
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.