Which of the following is the log-loss (cross-entropy loss) formula's primary purpose in classification?
-
A
Penalize large weights to prevent overfitting
-
B
Measure the difference between predicted probabilities and true class labels
-
C
Compute the Euclidean distance between class centroids
-
D
Maximize the margin between support vectors