mae1 = mean(abs(y1_obs - y1_pred));
mape1 = mean(abs((y1_obs - y1_pred)./y1_obs));
rmse1 = sqrt((sum((y1_obs - y1_pred).^2))./2)./t_num;
MATLAB关于误差分析(MAE,MAPE,RMSE)的代码
最新推荐文章于 2025-03-19 15:20:13 发布
mae1 = mean(abs(y1_obs - y1_pred));
mape1 = mean(abs((y1_obs - y1_pred)./y1_obs));
rmse1 = sqrt((sum((y1_obs - y1_pred).^2))./2)./t_num;