Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Time forecasting: https://www.analyticsvidhya.com/blog/2016/02/time-series-forecasting-codes-python/#comment-105332

$
0
0

@ali79 wrote:

Hello,

So, I followed the article linked in the subject. It is a great article, but it doesn’t show how to forecast future values.

Later in comments I see the following and I have the same problem:

b) How can we forecast for future time points (say 12 time points ahead).
Can we use followings still ?
predictions_ARIMA_log = pd.Series(ts_log.ix[0], index=ts_log.index)
predictions_ARIMA_log = predictions_ARIMA_log.add(predictions_ARIMA_diff_cumsum,fill_value=0)
ts_log is not available for future points.

Since the predictions we are doing has got the trend and cycles removed, and also the values are in log, how to do the prediction with these values added. I have checked both the predict and forecast methods which the author mention but it doesn’t help as the values returned are in log and they don’t have ts_log for future points.

Thanks

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles