Description Usage Arguments See Also Examples
logLoss
computes the average log loss between two numeric vectors.
1 | logLoss(actual, predicted)
|
actual |
The ground truth binary numeric vector containing 1 for the positive class and 0 for the negative class. |
predicted |
A numeric vector of predicted values, where the values correspond
to the probabilities that each observation in |
1 2 3 |
[1] 0.4196267
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.