-
Hello, When we use lag features, I think we'll need the previous data at predict time. So, I save the model using save method. Then load it. Called the predict method passed forecast horizon and it just worked. How? Does save also saves the fitted data? Is this the right approach? Is there a way to get prediction intervals after loading a saved model? Because it requires re-fitting the data. Lastly, I would be happy if someone can simply explain what does the update method do and in which case we would use it. I didn't understand it from the docs. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Yes, it saves the history
No, since the scores aren't saved
This is kind of related to the first question. The model needs the history to compute the lag features, so if you trained a model a month ago and want to predict the next week you need to tell it what the values of your target were during this month. One option would be retraining with the original data plus the previous month's data, but you can also just update the target values (without modifying the model) so that it's able to predict the next week by using the values from the previous month (which you already know by that point). |
Beta Was this translation helpful? Give feedback.
Yes, it saves the history
No, since the scores aren't saved
This is kind of related to the first question. The model needs the history to compute the lag features, so if you trained a model a month ago and want to predict the next week you need to tell it what the values of your target were during this month. One option would be retraining with the original data plus the previous month's data, but you can also just update the target values (without modifying the model) so that it's able to predict the next week…