How to calculate MAPE for type double

28 ビュー (過去 30 日間)
Giuseppe D'Amico
Giuseppe D'Amico 2021 年 3 月 3 日
回答済み: Divya Gaddipati 2021 年 3 月 11 日
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 Center および File ExchangeDiscrete Math についてさらに検索

タグ

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by