how to use neural network
이전 댓글 표시
i want ask how to determine epoch in matlab r2019b when the data from excel?
댓글 수: 7
Walter Roberson
2020년 2월 26일
Split the task into two parts. First read the data. Then determine the epoch of the data you have in memory.
importtool and then nntool
Cicasmi Hasibuan
2020년 3월 30일
Mohammad Sami
2020년 3월 30일
Your model will likely become over fitted with so many epochs. The best way is to set aside data for validations and stop the training once validation accuracy starts to plateau or decreases.
Cicasmi Hasibuan
2020년 3월 30일
Mohammad Sami
2020년 3월 30일
Yes MSE is one of the measure you can use to check the performance.
What I was highlighting is that you are using training MSE, which can result in overfitting your model to the data. You should use validation MSE instead, which will be a better reflecting of how your model would perform.
Cicasmi Hasibuan
2020년 3월 30일
Abhipsa
2025년 1월 31일
Hi @Cicasmi Hasibuan, actually you need to have a validation dataset in order to calculate validation MSE. Validation dataset is a separate dataset that is not used in training but can be used to help prevent overfitting. One of the possible way is "Early Stopping" i.e. to stop the model training when validation loss stops decreasing (i.e., when the model starts overfitting). We can monitor the validation MSE and stop training when it starts increasing.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
