Skip to contents

Negative Log Loss for Binary

Usage

negative_log_loss_for_binary(predicted_probabilities, true_outcomes)

Arguments

predicted_probabilities

The predicted probabilities from a learner predicted at newdata.

true_outcomes

A vector of true outcomes to use in calculating the negative log loss of the relevant predicted probabilities.