Skip to content
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

Forecast Plot for multiple models #1616

Closed
ngupta23 opened this issue Sep 26, 2021 · 3 comments
Closed

Forecast Plot for multiple models #1616

ngupta23 opened this issue Sep 26, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request priority_high time_series Topics related to the time series

Comments

@ngupta23
Copy link
Collaborator

Could you not have something like this pretty soon plot_model([model1, model2, model3]). I think that should be coming fairly quickly.

OR even

best_models = compare_models(n_select=3)
plot_models(best_models)

Originally posted by @ngupta23 in #1565 (comment)

@ngupta23 ngupta23 added the time_series Topics related to the time series label Sep 26, 2021
@ngupta23 ngupta23 added this to To do in Time Series Forecasting via automation Sep 26, 2021
@ngupta23 ngupta23 changed the title Forecast Plot Models for multiple models Forecast Plot for multiple models Sep 26, 2021
@moezali1 moezali1 added the enhancement New feature or request label Sep 29, 2021
@ejohnson-amerilife
Copy link

a workaround could be a for-loop over a list of models e.g.

for m in [model1, model2, model3]:
    plot_model(m)

@ngupta23
Copy link
Collaborator Author

for loops will plot separate plots for each model. What we want is one plot with overlays for multiple models so it makes it easy to compare visually.

Of course that does not preclude anyone from using the for loop. That could still be done as is today.

@ngupta23
Copy link
Collaborator Author

Expected behavior

# model1 supports Prediction Intervals (PI)
# model2 does not support PI
plot_model(model1)           # plots forecast with PI
plot_model(model2)           # plots forecast without PI
plot_model([model1, model2]) # plots both forecasts only (no PI)

@ngupta23 ngupta23 linked a pull request Jan 22, 2022 that will close this issue
13 tasks
@ngupta23 ngupta23 removed a link to a pull request Mar 19, 2022
13 tasks
Time Series Forecasting automation moved this from To do to Done Mar 20, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request priority_high time_series Topics related to the time series
Development

No branches or pull requests

4 participants