Description Usage Arguments Details Value Examples
This function computes the Loglikelihood Error loss (logloss) per value provided x, y
(preds, labels) probabilities.
1 | loss_LL_math(x, y)
|
x |
The |
y |
The |
Loss Formula : - (y_true * log(y_pred) + (1 - y_true) * log(1 - y_pred))
Gradient Formula : (1 - y_true)/(1 - y_pred) - y_true/y_pred
Hessian Formula : (1 - y_true)/((1 - y_pred) * (1 - y_pred)) + y_true/(y_pred * y_pred)
The Loglikelihood Error per value.
1 2 3 4 | ## Not run:
SymbolicLoss(fc = loss_LL_math, xmin = 0, xmax = 1, y = rep(0, 21))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.