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.
  1. Import the train dataset and train the network ;
  2. Import the validation dataset to validate the model;
  3. import the test dataset to test the network.
  4. 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

回答(1 个)

Bharat Chandra Mukkavalli
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

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by