It is not yet clear for me what metrics are (as given in the code below). What exactly are they evaluating? Why do we need to define them in the model
metrics
model
As in keras metrics page described:
A metric is a function that is used to judge the performance of your model
Metrics are frequently used with early stopping callback to terminate training and avoid overfitting