Calculation method of RMSE and MAPE in MATLAB

 
RMSE: Root mean square error

Matlab calculation method:

rmse = sqrt(mean((YPred-Obverval).^2));

MAPE: Mean percentage error

Matlab calculation method:

meap = mean(abs((observed - predicted)./observed))*100;

 

Read More: