-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
model.predict gives different forecast depending on forecast_length #199
Comments
Understanding the expected behavior is a bit complicated. On a related note, there a selection of |
Thanks for getting back so fast, and for a clear answer. What you are suggesting seems fair, but I wonder if it is right for me. Here's the rub: I need forecasts for 18 months ahead, but they should be optimized for 3 months ahead. 1.) Train with AutoTS(forecast_length = 3); model = model.fit(all_data) Thanks again! Best, Seb |
I would just stick with the original plan of AutoTS(forecast_length=3) then .predict(forecast_length=18). If the minor variation concerns you (and for me it really doesn't because forecasts are highly uncertain by definition, some variation is to be expected even with similar models) then choose a model_list of models that won't change based off forecast_length. I can suggest some if you want. |
Thank you sir, that would be very helpful! (minor variations in above examples, but major when considering all time series in the data). I understand this can be a convergence issue also. A job well done on the package, thank you kindly for taking the time and answering! |
Thanks, if you continue to see "major"variations feel free to post more. It's possible there is a bug with the specific model being used, in that case (largely a large chunk of JSON for an ensemble). |
model.predict(forecast_length=n) and model.predict(forecast_length=m) gives (for me) different forecast values depending
on forecast length. What am I missing? Expected behavior, mistake on my part, or bug?
code:
model = AutoTS(
forecast_length=3,
frequency='MS',
ensemble='all',
model_list="best",
n_jobs="auto",
transformer_list="fast",
holiday_country = "PL",
max_generations=4,
num_validations=1,
verbose=0
)
model = model.fit(df, #Multiple ts end-date 2023-08-01
date_col='Date',
value_col='Sales',
id_col='Customer Number')
Thanks in advance!
The text was updated successfully, but these errors were encountered: