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);

답변 (1개)

KSSV
KSSV 2021년 7월 19일

0 개 추천

MAE_Perc=mae((True-Predict)/.True); % <-- bracket needed here
RMSE_Perc=sqrt(mse(Tru-Predict)/.True);

댓글 수: 1

WELTON DUQUE
WELTON DUQUE 2022년 4월 12일
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%?

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

카테고리

태그

질문:

2021년 7월 19일

댓글:

2022년 4월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by