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

[timeseries] Create an abstract class for time series ensembles #2712

Merged
merged 2 commits into from
Jan 20, 2023

Conversation

shchur
Copy link
Collaborator

@shchur shchur commented Jan 17, 2023

This PR lays the groundwork for the implementation of more sophisticated ensembling strategies for time series.

Description of changes:

  • Introduce AbstractTimeSeriesEnsembleModel - base class implementing different ensembling strategies for time series models.
  • Refactor and simplify the logic for fitting the simple greedy ensemble for time series.
    • Combine SimpleTimeSeriesWeightedEnsemble and TimeSeriesEnsembleWrapper into a single class -> TimeSeriesGreedyEnsemble
    • Simplify the logic in AbstractTimeSeriesTrainer.fit_ensemble.
    • Save ensemble to disk as a usual model instead of storing it inside the model_graph.
  • Minor change: 10x speedup for mean_wQuantileLoss calculation using vectorization.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@shchur shchur added this to the 0.7 Release milestone Jan 17, 2023
@github-actions
Copy link

Job PR-2712-56debe2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-2712/56debe2/index.html

@github-actions
Copy link

Job PR-2712-e188de8 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-2712/e188de8/index.html

Copy link
Contributor

@canerturkmen canerturkmen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@shchur shchur merged commit 93f20d2 into autogluon:master Jan 20, 2023
@shchur shchur deleted the ts-ensemble branch January 20, 2023 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants