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.
Binary cross entropy (BCE; aka log-loss) is a loss function associated with binary classification problems. The formula for BCE is:
loss=N1i=1∑Nyi⋅log(yi^)+(1−yi)⋅log(1−yi^)where yi^ is the predicted probability that yi=1 and yi is either 0 or 1.