Skip to contents

Negative Log Loss

Usage

negative_log_loss(predicted_densities, ...)

Arguments

predicted_densities

Details

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)) $$