-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[ENH] re-interface API for LTSF
algorithms
#6192
Comments
Good observation! I would go with the "implement a new one" plan. Why: afaik, the current implementations are "reference implementations", taken from the cited repositories (which have not been released as packages on pypi). So, they have - at least - an important place in comparisons, benchmarks, etc, for scientific purposes. Further, I'd imagine they are not fully interface identical with the Regarding the name, I would add as an option, perhaps we don't necessarily want to switch them, but keep What do you think? |
sure, I'll check how the original academic implemention and that of |
hm, looks like If it is a 1:1 copy - like in Because accessing the same code behind an additional layer of interfaces makes it more brittle - which in the case of Further, |
yes, I was checking
Yes, just observed the same thing, was working on
I think this and the above reasons are strong enough to keep |
perhaps we should make the original authors aware that their algorithms exist in I am also noticing, they do not appear in the (this is my oversight, we added author/maintainer tags for estimators recently and we added them to 100s of estimators using default settings for the migration, based on file authors. Also see policy discussion in #5938 ) |
I am working on adding an I am closing the issue, as we have had a good discussion and have reached a conclusion to not change the API design. |
LTSF algorithms were originally requested in #4939
Following forecasters and accessories were added by @luca-miniati in #4891 and 9c6a956
sktime.forecasting.ltsf
sktime.networks.ltsf._ltsf
BaseDeepNetworkPyTorch
LTSF
algorithms are now supported inneuralforecast
(said here: cure-lab/LTSF-Linear) for which we have an existing adapterMy proposition is that we change the internals of
LTSF
API, basically change its adapter fromBaseDeepNetworkPyTorch
to_NeuralForecastAdapter
.Reasons for this change are:
sktime.networks.ltsf._ltsf
as we will be importing the networks implemented inneuralforecast
LTSF
algorithms also happen to change with enhacements, with the new API design we will not have to worry about changing the networks insktime.networks.ltsf._ltsf
Transformer
,Informer
,Autoformer
,Pyraformer
,FEDformer
. It would be a plug and play as we would not need to implement the complete architectures from scratchSteps to start with the change
LTSF
interfacesktime/forecasting/neuralforecast.py
sktime/forecasting/ltsf2.py
for the deprecation period and later make it the main interface by removing2
from filenameNeuralForecastRNN
andNeuralForecastLSTM
have been already implementedThe text was updated successfully, but these errors were encountered: