Why do we use cross-entropy loss instead of Mean Squared Error for classification?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Asks why classifiers are trained with cross-entropy loss and not mean squared error. It tests the likelihood view of loss functions, the gradient of each loss through a sigmoid or softmax, convexity for logistic regression, and how each loss penalizes confident mistakes.