Effacer les filtres
Effacer les filtres

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 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

Greg Heath
Greg Heath le 24 Août 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);

Plus de réponses (0)

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by