Evaluation.log_loss.Rd
Function to calculate the log loss evaluation metric.
Evaluation.log_loss(data.observed, data.predicted, eps = 0.000000000000001)
data.observed | the true data (Y). |
---|---|
data.predicted | the Y outcome from the estimator. |
eps | is a small offset to let the log not go to Inf. |
double the calculated log loss.