Hands-On Neural Networks
上QQ阅读APP看书,第一时间看更新

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.