Gallery
Concise and Practical AI/ML
Share
Explore
Neuralnet

Loss Functions

Common loss function are listed below. See the page for notation and meanings of symbols. And m below is the number of neurons in output layer.

MAE

Mean Absolute Error. This is not a good function, it’s not smooth.
image.png

MSE

Mean Squared Error. This loss function is common and good for regression, but can be used in classification too.
image.png

CE

Cross-Entropy. This loss function can work with both sigmoid and softmax activations.

CCE

Categorical Cross-Entropy. This loss function is common and good for classification; this loss function should work with softmax activation only.


Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.