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.