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] Implement recurrent forecasting model based on TabularPredictor and MLForecast #3177

Merged
merged 14 commits into from
Apr 28, 2023

Conversation

shchur
Copy link
Collaborator

@shchur shchur commented Apr 25, 2023

Description of changes:

  • Add a new model RecursiveTabularModel that uses the TabularPredictor to forecast time series 1 step into the future. The overall forecast is obtained by unrolling the model predictions over time.

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 changed the title [WIP] [timeseries] Implement recurrent forecasting model based on TabularPredictor and MLForecast [timeseries] Implement recurrent forecasting model based on TabularPredictor and MLForecast Apr 26, 2023
@shchur shchur requested a review from tonyhoo April 27, 2023 17:33
@github-actions
Copy link

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

@github-actions
Copy link

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

@@ -38,6 +39,7 @@
AutoETS=AutoETSModel,
AutoARIMA=AutoARIMAModel,
DynamicOptimizedTheta=DynamicOptimizedThetaModel,
RecursiveTabular=RecursiveTabularModel,
Copy link
Collaborator

Choose a reason for hiding this comment

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

which presets are we intended to add for this model?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I plan to update these in a follow-up PR.

) -> TimeSeriesDataFrame:
predictions = self._predict_without_quantiles(data, known_covariates)
for q in self.quantile_levels:
predictions[str(q)] = predictions["mean"] + self.quantile_adjustments[q]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wondering how the quantile adjustment is done

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Here we just use the empirical distribution of the quantiles to generate dummy quantiles. I will add another tree-based model that is trained to predict the quantiles using the wQL loss in a future PR.

@shchur shchur merged commit b55277f into autogluon:master Apr 28, 2023
28 checks passed
@shchur shchur deleted the mlf-tabular branch April 28, 2023 20:31
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