How can calculate ( MSE , NMSE , Correlation Coefficient ) for the output result of neural network ?
Afficher commentaires plus anciens
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
4 commentaires
yuval
le 17 Août 2020
You should give some more information on what you're trying to do, including relevant bits of your code, because I don't see a way to help otherwise.
Greg Heath
le 17 Août 2020
In particular, you have not defined an output!
Greg
Aya Ahmed
le 20 Août 2020
Aya Ahmed
le 20 Août 2020
Réponses (1)
masoud sistaninejad
le 4 Août 2021
Modifié(e) : masoud sistaninejad
le 4 Août 2021
0 votes
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)));
Catégories
En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
