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

4 visualizaciones (últimos 30 días)
omar belhaj
omar belhaj el 14 de En. de 2016
Respondida: Greg Heath el 23 de Sept. de 2016
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*

Respuesta aceptada

Greg Heath
Greg Heath el 23 de Sept. de 2016
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

Más respuestas (0)

Categorías

Más información sobre Particle Swarm en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by