It is possible to save the all struct consecutively using Neural Network
이전 댓글 표시
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
채택된 답변
추가 답변 (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!