Save and sort ANN models in each epoch and sort out the one with smallest MSE
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi everyone.
I am trying to develop ANN models to predict a continuous target variable.
I want to randomly split my dataset and have access to each.
- Import the train dataset and train the network ;
- Import the validation dataset to validate the model;
- import the test dataset to test the network.
- Then compare it with measured values.
And also, I want to record every model generated during training, and sort out the best.
I tried youtube and google but they are not helping. Any advice or lead can help.
Note: Apologies if I fail to properly structure my question.
Thanks
댓글 수: 0
답변 (1개)
Bharat Chandra Mukkavalli
2022년 7월 11일
Hi,
Please refer to this link on how to randomly split data into train, test and validation sets: https://in.mathworks.com/matlabcentral/answers/377839-split-training-data-and-testing-data
For model training, to save the model after every epoch refer to this link: https://in.mathworks.com/matlabcentral/answers/1573523-is-it-possible-to-save-results-after-every-epoch-so-that-if-there-is-some-issue-with-power-i-can-co
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!