MAE and RMSE in percentage

19 Ansichten (letzte 30 Tage)
stelios loizidis
stelios loizidis am 19 Jul. 2021
Kommentiert: WELTON DUQUE am 12 Apr. 2022
Hello,
I have the following question: I want to calculate the MAE and RMSE in percentage. The following code gives the correct result?
MAE_Perc=mae(True-Predict/.True);
RMSE_Perc=sqrt(mse(Tru-Predict)/.True);

Antworten (1)

KSSV
KSSV am 19 Jul. 2021
MAE_Perc=mae((True-Predict)/.True); % <-- bracket needed here
RMSE_Perc=sqrt(mse(Tru-Predict)/.True);
  1 Kommentar
WELTON DUQUE
WELTON DUQUE am 12 Apr. 2022
RMSE_Perc=sqrt(mse(Tru-Predict)/.True); %<-- That "dot" after the division slash is wrong
And if we change to "./", the result in a vector.
So, how to obtain just on value representing the RMSE%?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by