R/super_learner_helpers.R
negative_log_loss.Rd
Negative Log Loss
negative_log_loss(predicted_densities, ...)
negative_log_loss encodes the logic: if \(\hat p_n\) is a good model of the conditional densities, then it should minimize: $$ -\sum(\log(\hat p_n(X_i)) $$
negative_log_loss