how to use neural network
Afficher commentaires plus anciens
i want ask how to determine epoch in matlab r2019b when the data from excel?
7 commentaires
Walter Roberson
le 26 Fév 2020
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
le 30 Mar 2020
Mohammad Sami
le 30 Mar 2020
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
le 30 Mar 2020
Mohammad Sami
le 30 Mar 2020
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
le 30 Mar 2020
Abhipsa
le 31 Jan 2025
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.
Réponses (0)
Catégories
En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
