- Hands-On Neural Networks
- Leonardo De Marchi Laura Mitchell
- 74字
- 2021-06-24 14:00:12
Regression metrics
In Keras, we can see the following few important metrics:
- Mean Squared Error: mean_squared_error, MSE, or mse
- Mean Absolute Error: mean_absolute_error, MAE, or mae
- Mean Absolute Percentage Error: mean_absolute_percentage_error, MAPE, or mape
- Cosine Proximity: cosine_proximity, cosine
In Keras, you can specify the metric you are optimizing for, the loss, only after a model is already instantiated. We will see later in the book how to choose the metrics we are interested in.