필터 지우기
필터 지우기

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 (최근 30일)
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.

채택된 답변

Greg Heath
Greg Heath 2017년 8월 24일
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);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by