How to calculate MAPE for type double

8 visualizzazioni (ultimi 30 giorni)
Giuseppe D'Amico
Giuseppe D'Amico il 3 Mar 2021
Risposto: Divya Gaddipati il 11 Mar 2021
I have to vector of type double; target_2019 and output_2019.
How can i calculate MAPE?

Risposte (1)

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

Categorie

Scopri di più su Modify Image Colors in Help Center e File Exchange

Tag

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by