How can calculate ( MSE , NMSE , Correlation Coefficient ) for the output result of neural network ?

조회 수: 72 (최근 30일)
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
Aya Ahmed
Aya Ahmed 2020년 8월 20일
yuval,, I want to make image classification in to three types of images
Aya Ahmed
Aya Ahmed 2020년 8월 20일
Greg Heath the output is like that : -
three classes of images ,, i want to get there performance like Mean Square Error , Normalized Mean Square Error , Correlation Coefficient

댓글을 달려면 로그인하십시오.

답변 (1개)

masoud sistaninejad
masoud sistaninejad 2021년 8월 4일
편집: masoud sistaninejad 2021년 8월 4일
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)));

카테고리

Help CenterFile Exchange에서 Pattern Recognition and Classification에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by