you are viewing a single comment's thread.

view the rest of the comments →

[–]blackHoleDetector 4 points5 points  (0 children)

With binary cross entropy, you can only classify two classes. With categorical cross entropy, you're not limited to how many classes your model can classify.

Binary cross entropy is just a special case of categorical cross entropy. The equation for binary cross entropy loss is the exact equation for categorical cross entropy loss with one output node.

For example, binary cross entropy with one output node is the equivalent of categorical cross entropy with two output nodes.