Calculates the cross-entropy, or logarithmic (log), loss.
The logloss, in the context of probabilistic predictions, is defined as the negative log probability density function, \(f\), evaluated at the observed value, \(y\), $$L(f, y) = -\log(f(y))$$
Type: "density"
Range: \([0, \infty)\)
Minimize: TRUE
Required prediction: pdf
mlr3::Measure
-> mlr3proba::MeasureDens
-> MeasureDensLogloss
new()
Creates a new instance of this R6 class.
MeasureDensLogloss$new()
clone()
The objects of this class are cloneable with this method.
MeasureDensLogloss$clone(deep = FALSE)
deep
Whether to make a deep clone.