What is the difference between binary cross-entropy and categorical cross-entropy?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Asks how binary cross-entropy differs from categorical cross-entropy and when each loss applies. Tests knowledge of sigmoid and softmax outputs, multi-label versus multi-class tasks, the two-class case and how deep learning frameworks expect labels and logits.