필터 지우기
필터 지우기

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 CenterFile Exchange에서 Particle Swarm에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by