-
Notifications
You must be signed in to change notification settings - Fork 644
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
[API] Redesign towards pytorch-forecasting 2.0 #1736
Comments
Having reviewed multiple code bases - The model layer will mostly follow the data layer, given that My suggestions for high-level requirements on data loaders:
Observations of the current API:
The explicit specifications can be reconstructed from usage and docstrings, for convenience listed below:
|
question for @jdb78 - why did you design the Side note: one possible design is to have data loaders that are specific to neural networks, facing a more general API |
|
@geetu040, what I mean is the format of the So, for |
@fkiraly what are your reviews on model initialization in |
The idea is that basically all models can be represented as encoder/decoder. In some cases they are the same. |
Is that really true though for all models out there? And do we need this as See for instance Amazon Chronos: or Google TimesFM: What I think we need for 2.0 is an API design that can cover all torch-based forecasting models. |
I think there is no serious problem with that as ultimately it calls
|
Yup, the interface complication is the main concerning thing considering use-cases like those involving single model. But yes, the positive and negative sides need cost-benefit analysis to decide final. |
Some further thoughts about the design:
I would hence suggest, on the
|
Discussion thread for API re-design for
pytorch.forecasting
next 1.X and towards 2.0. Comments appreciated from everyone!Summary of discussion on Dec 20, 2024 and prior, about re-design of
pytorch-forecasting
.FYI @agobbifbk, @thawn, @sktime/core-developers.
High-level directions:
pytorch-forecasting 2.0
. We will need to homogenize interfaces, consolidate design ideas, and ensure downwards compatibility.thuml
project, also see [ENH] neural network libraries in thuml time-series-library sktime#7243.sktime
.High-level features for 2.0 with MoSCoW analysis:
sktime
and DSIPTS, but as closely to thepytorch
level as possible. The API need not cover forecasters in general, onlytorch
based forecasters.skbase
can be used to curate the forecasters as records, with tags, etcthuml
Todos:
0. update documentation on dsipts to signpost the above. README etc.
The text was updated successfully, but these errors were encountered: