How to calculate MAPE for type double

10 次查看(过去 30 天)
I have to vector of type double; target_2019 and output_2019.
How can i calculate MAPE?

回答(1 个)

Divya Gaddipati
Divya Gaddipati 2021-3-11
You can use the below formula to calculate the MAPE:
mape = mean(abs((target_2019 - output_2019)./target_2019));

类别

Help CenterFile Exchange 中查找有关 Modify Image Colors 的更多信息

标签

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by