Loss function - AshokBhat/ml GitHub Wiki
Description
- Training performance metric
- Reflects quality of neural network
- Training goal is to minimize the loss function
Example loss functions
| Function | Operation |
|---|---|
| MeanSquaredError | Mean of squares of errors between labels and predictions |
| MeanAbsoluteError | Mean of the absolute difference between labels and predictions |
FAQ
- What is the loss function?
- How is the loss function used during training?
- Why does minimizing loss function help training algorithms to arrive at the best possible parameters?
- What is the difference between loss function and cost function?
Keras support
tf.keras.lossesprovides many loss functions.