MATLAB: The mse command works fine when i use it after training. but when i load the network in a new file.the mse command gives error. kindly tell how can i find the mse for the new_input. after the network is being trained and saved.

Deep Learning Toolboxduplicate post

if true
[net,tr]=train(net_a,input,target);
output=sim(net,input)
MeansqEr= mse(net,target,output)
save net
load net
outp=sim(net,new_input)
end

Best Answer

Already answered.
See my answer to your later post.
Greg