Course Name: Financial Time Series Analysis for Trading, Section No: 7, Unit No: 7, Unit type: Notebook
Hello, in this notebook we find the formula for the Mean Absolute Percentage Error - MAPE as it:
https://i.imgur.com/GByin1f.png
However we use the following code:
MAPE = 100 * (data["error"] / data["Observed JPM"]).abs().mean()
Here we're multiplying by 100 and not 100/n. Am I missing something?