The performance evaluating criteria of neural network

7 Ansichten (letzte 30 Tage)
isra sahli
isra sahli am 31 Mär. 2023
Beantwortet: Meet am 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

Antworten (1)

Meet
Meet am 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:

Kategorien

Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by