- The model starts off with initial weights.
- The model makes a prediction and assesses the loss attained for a data point.
- The model corrects the weight according to the loss attained.
- The model makes a prediction using the corrected weight and assesses the loss for next data point.
- The process continues until all data points are exhausted.
- The performance plot shows the loss attained at each step.
Why doesn't the Artificial Neural Network stop training at the point where it achieves the best performance indicated by the lowest MSE on the performance plot?
2 次查看(过去 30 天)
显示 更早的评论
Why doesn't the Artificial Neural Network stop training at the point where it achieves the best performance indicated by the lowest Mean Squared Error (performance) on the performance plot?
0 个评论
回答(1 个)
Ganesh
2023-12-22
编辑:Ganesh
2023-12-24
The ANN cannot stop at the lowest point, because at the time of training there is no lowest point. Ideally, the lowest loss that a model can achieve is 0. However, during training, the model has no idea of whether the loss will increase or decrease further down the line.
A model training works in the following way:
The model thus, has no way of knowing it’s performance on data it has not seen.
It is to be noted that the lowest mean squared error does not mean that the model is performing the best at that point. It means that the model performs well for the data it has already seen. Allowing it to train over more data would ensure that the model makes accurate predictions for unseen data.
Hope this answer helps!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!