powered by
Logistic (Cross-Entropy) Loss
log_loss(y, pred)
The mean logistic loss as a single numeric value.
Numeric vector of true binary responses (values in 0/1).
Numeric vector (or scalar) of predicted probabilities.
Martin Jullum