What is “metrics” in Keras?

后端 未结 4 2174
滥情空心
滥情空心 2020-12-12 18:44

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

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-12 19:08

    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

提交回复
热议问题