How to calculate MAPE for type double

14 visualizaciones (últimos 30 días)
Giuseppe D'Amico
Giuseppe D'Amico el 3 de Mzo. de 2021
Respondida: Divya Gaddipati el 11 de Mzo. de 2021
I have to vector of type double; target_2019 and output_2019.
How can i calculate MAPE?

Respuestas (1)

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

Categorías

Más información sobre Discrete Math en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by