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.
Feb 11, 2026
Feb 10, 2026
Feb 01, 2026
Jan 30, 2026
Jan 30, 2026