フィルターのクリア

How to differentiate between Mse(training) and Mse(testing) ??

1 回表示 (過去 30 日間)
omar belhaj
omar belhaj 2016 年 1 月 14 日
回答済み: Greg Heath 2016 年 9 月 23 日
Hello, i would like to know how to differentiate between Mse(training) and Mse(testing) during training phases this is my part of my ANN's code :
net.divideMode = 'sample'; % Divide up every sample
net.divideParam.trainRatio = 70/100;
net.divideParam.valRatio = 20/100;
net.divideParam.testRatio = 10/100;
net.performFcn = 'mse'
MSEt(j,H) = mse(net,targets,outputs);%mean square error
*my question is that MSE calculated is for training error or for testing error ??
Help please*

採用された回答

Greg Heath
Greg Heath 2016 年 9 月 23 日
In order to obtain the break down of mse into its trn/val/tst parts you have to obtain the training record, tr from training;
[ net tr Y E Xf Af ] = train ( net, X ,T, Xi, Ai );
help train
doc train
Hope this helps.
Greg

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeParticle Swarm についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by