Binary cross entropy (BCE; aka log-loss) is a loss function associated with binary classification problems. The formula for BCE is:

where is the predicted probability that and is either 0 or 1.