Borrar filtros
Borrar filtros

Hi. I am using mse funtion to find the mse of my network. In my opinion mse should change for every input.once i save the network and reload it. the mse command doesnt work and produces error.kindly help

2 visualizaciones (últimos 30 días)
if true
[baboon_fit,tr]=train(baboonnet,input,target);
output=sim(baboon_fit,input);
MeansqEr= mse(baboon_fit,target,output)
save baboon_fit
%in new program
load baboon_fit
output=sim(baboon_fit,newinput);
MeansqEr= mse(baboon_fit,target,output)
end
%Function 'subsindex' is not defined for values of class 'network' error message is displayed.

Respuesta aceptada

Greg Heath
Greg Heath el 24 de Ag. de 2017
Just use
MSE = mse(target-output)
Hope this helps.
Thank you for formally accepting my answer
Greg
P.S. You can also just use
output = baboon_fit(newinput);

Más respuestas (0)

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by