need help with neural network
1 回表示 (過去 30 日間)
古いコメントを表示
i'm working on a M file (script) to run neural network training for several time (10 times each) and i want to save the neural network results concerning MSE and Regression R coefficient for the Training and Validation and test data i want to know how to write a code to save the neural results??
採用された回答
Léon
2012 年 1 月 24 日
The solution to your problem should be a simple loop. Meaning that you put your relevant ANN code in that loop and save the output each time. Like the following
MSE_all = zeros(10,1); % preallocate space to the vector for all MSE values
R_all = zeros(10,1); % see above
for i = 10
% here goes your ANN training code
MSE_all(i) = MSE; % MSE means here the needed output by the ANN that should
% be stored
R_all(i) = R; % see above
end
その他の回答 (2 件)
Greg Heath
2012 年 1 月 25 日
Many examples of code that computes and saves Ntrials values of MSE and R^2 (coefficient of determination) can be obtained by searching the Newsgroup with the search words
heath Ntrials
Hope this helps
Greg
Greg Heath
2012 年 1 月 29 日
If you have source access try this:
type mse
type postreg
Hope this helps.
Greg
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!