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? Why we can have multiple metrics in one model? And more importantly what is the mechanics behind all this?
Any scientific reference is also appreciated.
model.compile(loss='mean_squared_error',
optimizer='sgd',
metrics=['mae', 'acc'])