It is possible to save the all struct consecutively using Neural Network
Show older comments
Hi guyss!!! please help me with my problem :)
I created a routine to save the output value of a sequence of routines neural networks.
I can save the output values for each routine I do, but i dont know how to save the file tr (file structure) and know the basics and weights of each routine made.
What do I need to add to save all data for each routine made? (tr,weight, etc..)
I need to do 30 routines of neural networks.
for i = 1:30
% Create a Fitting Network
hiddenLayerSize = 8;
net = fitnet(hiddenLayerSize);
% Set up Division of Data for Training, Validation, Testing
net.divideParam.trainRatio = 70/100;
net.divideParam.valRatio = 15/100;
net.divideParam.testRatio = 15/100;
[pn,ps] = mapminmax(p);
[tn,ts] = mapminmax(t);
[net,tr] = train(net,pn,tn);
an = sim(net,pn);
a = mapminmax('reverse',an,ts);
Output(:,i)=a;
end
Accepted Answer
More Answers (0)
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!