How to calculate MAPE for type double

조회 수: 15 (최근 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 CenterFile Exchange에서 Discrete Math에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by