metrics evaluation function

The evaluation function is used to evaluate the performance of the current training model.

1 model.compile(loss='categorical_crossentropy', 
2                                 optimizer='sgd', metrics=['accuracy'])

 

Evaluation function and loss of function is similar, but the results of the evaluation function is not used in the training process.

https://keras.io/zh/metrics/#custom-metrics

https://blog.csdn.net/qq_32806793/article/details/85017215

Guess you like

Origin www.cnblogs.com/codingalgorithm/p/11204635.html