필터 지우기
필터 지우기

MAE and RMSE in percentage

조회 수: 15 (최근 30일)
stelios loizidis
stelios loizidis 2021년 7월 19일
댓글: WELTON DUQUE 2022년 4월 12일
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일
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%?

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

카테고리

Help CenterFile Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by