Cross Entropy Loss
Easy · Solved in PyTorch · Machine learning coding practice
Problem
Implement cross entropy loss functions for classification tasks, from Binary Cross Entropy (BCE) for binary classification to multi-class Cross Entropy for neural networks.
Topics: loss functions, binary classification, multi-class classification, neural networks
The full statement, worked examples, hints and the test suite are available once you sign in. You can then solve Cross Entropy Loss in the browser and run it against the tests.