MAE and RMSE in percentage
23 views (last 30 days)
Show older comments
stelios loizidis on 19 Jul 2021
Commented: WELTON DUQUE on 12 Apr 2022
I have the following question: I want to calculate the MAE and RMSE in percentage. The following code gives the correct result?
KSSV on 19 Jul 2021
MAE_Perc=mae((True-Predict)/.True); % <-- bracket needed here
WELTON DUQUE on 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%?
Find more on Correlation and Convolution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!