How can calculate ( MSE , NMSE , Correlation Coefficient ) for the output result of neural network ?
81 views (last 30 days)
Show older comments
I want to calculate ( Mean Square Error , Normalized Mean Square Error , Correlation Coefficient ) for the output result of neural network using matlab code ...
the Data are a group of different images, its features were extracted using PCA and then entered into the Nueral Network.
How can I know about system performance ?
PLZ any help .. thanks
Answers (1)
masoud sistaninejad
on 4 Aug 2021
Edited: masoud sistaninejad
on 4 Aug 2021
inputs = x_test ; % your test data inputs
targets = y_test ; % your test data targets
P = net(inputs);
Error = targets - P;
MSE = mse(targets,P);
NMSE = (mean(error.^2)) / (mean(var(targets',1)));
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!