You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, df['foot_traffic'].iloc[948] is not the last point of training data, but the first point to predict, isn't it? So shouldn't the code actually use df['foot_traffic'].iloc[947] ?
The text was updated successfully, but these errors were encountered:
Hi @Mkranj , I have found a similar issue in Chapter 5 as well. When the author applies the inverse transformation to the ARMA(2, 2) model for the hourly bandwith dataset, it proposes the following code.
Which gives a MAE of 14. Nevertheless, the index of the initial point for the difference is wrong, as it should be the last point of the training set. Therefore, the code should apply the addition with respect to the index 9831 as follows:
In Chapter 5, there's a paragraph about reverting differenced values to the original scale, with the following code:
However,
df['foot_traffic'].iloc[948]
is not the last point of training data, but the first point to predict, isn't it? So shouldn't the code actually usedf['foot_traffic'].iloc[947]
?The text was updated successfully, but these errors were encountered: