Why best performance MSE does not align with final MSE?

1 次查看(过去 30 天)
ANN model outputs
  1. The model stopped at epoch 22 with an MSE of 0.0242
  2. The best performance was observed at epoch 16 with an MSE of 0.031
  3. However, the final MSE between actual and predicted values is 0.0308
Shouldn't the third data align with the best performance (second) value ?
  5 个评论
Mahi
Mahi 2023-12-24
MSE at epoch 22 is better than the epoch 16. There is always a difference between training and testing error and accuracy values . Your final value of MSE is higher than your training mse .which I think is good.otherwise it may mean that your model is over fitted

请先登录,再进行评论。

回答(1 个)

Ganesh
Ganesh 2023-12-24
移动:Matt J 2023-12-25
MSE you achieve at epoch 22 is for that specific minibatch used at epoch 22. That would not mean that you achieve the same MSE for all of the dataset. It's quite possible that you achieve a lower or a higher MSE on the test set.

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by