The performance evaluating criteria of neural network

3 vues (au cours des 30 derniers jours)
isra sahli
isra sahli le 31 Mar 2023
Réponse apportée : Meet le 9 Sep 2024
Hello every one
I used neural network to predict two value
i use this code:
x=xlsread('Features');
t=xlsread('Target');
trainFcn = 'trainbr';
hiddenLayerSize = 10;
net = fitnet(hiddenLayerSize,trainFcn);
net.divideParam.trainRatio = 70/100;
net.divideParam.valRatio = 15/100;
net.divideParam.testRatio = 15/100;
[net,tr] = train(net,x,t);
y = net(x);
e = gsubtract(t,y);
performance = perform(net,t,y);
how can i use the performance evaluating criteria (the mean absolute error (MAE), mean square error (MSE), R2 (coefficient of determination), rootmeansquareerror(RMSE),meanabsoluteper- centage error (MAPE), and index ofagreement (IA) values) and how can i know the best network

Réponses (1)

Meet
Meet le 9 Sep 2024
Hi isra,
The key points for evaluating your neural network model’s performance are:
  1. Lower values for "MAE", "MSE", "RMSE", and "MAPE", and higher values for "R²" and "IA" means better performance.
  2. Ensure that the network performs well not only on training data but also on validation and test data to avoid overfitting.
You can refer to the resource below for more information:

Community Treasure Hunt

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

Start Hunting!

Translated by