View source: R/classification.R
| classification_loss_value | R Documentation |
Internal helper for computing binary or multi-class classification loss.
classification_loss_value(y_true, y_pred, classification_type, epsilon = 1e-15)
y_true |
Encoded true response. |
y_pred |
Predicted probabilities. |
classification_type |
Either |
epsilon |
Small value used for numerical stability. |
A single numeric loss value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.