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

[ENH] de-novo implementation of LTSFTransformer based on cure-lab research code base #6202

Merged
merged 42 commits into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
04855db
implements ltsf-transformer layers and network
geetu040 Mar 24, 2024
0b69c61
[AUTOMATED] update CONTRIBUTORS.md
geetu040 Mar 24, 2024
5ebe676
connect transformer blocks
geetu040 Jun 7, 2024
6a209f0
remove ltsf_transformer
geetu040 Jun 7, 2024
b748ad1
Merge branch 'main' into ltsf-transformer
geetu040 Jun 10, 2024
3a94a93
fix quality failures
geetu040 Jun 10, 2024
9cf30e8
update forward pass
geetu040 Jun 10, 2024
252b368
update and debug code for running forward pass [skip ci]
geetu040 Jun 12, 2024
405c96c
add cure-lab dataset methods [skip ci]
geetu040 Jun 13, 2024
d8c32d2
make LTSF Dataset class, sktime compatible - working forward pass [sk…
geetu040 Jun 14, 2024
600d189
working _predict and add temp docstring. [skip ci]
geetu040 Jun 18, 2024
7d94c8a
clean dataset with working fit and predict. [no ci]
geetu040 Jun 19, 2024
0893d30
clean and arrange architechture layers
geetu040 Jun 20, 2024
9f9193d
rework on init params. [no ci]
geetu040 Jun 21, 2024
e1fd36e
update build_network method
geetu040 Jun 25, 2024
458d8bb
improve data embedding class. [skip ci]
geetu040 Jun 25, 2024
6a76c76
changes to temporal embedding. [no ci]
geetu040 Jun 26, 2024
7135577
set pipeline w/o temporal embedding [no ci]
geetu040 Jun 26, 2024
c375ff7
design strategy for providing temporal embeddings with mark_vocab_siz…
geetu040 Jun 26, 2024
64ac776
refactor embedding classes further and move all temporal related hard…
geetu040 Jun 27, 2024
2c044eb
makes following changes
geetu040 Jun 27, 2024
fedbe47
pre-commit fix
geetu040 Jun 27, 2024
ae0b357
add init files [no ci]
geetu040 Jun 27, 2024
96ff259
handle pytorch dependency in files
geetu040 Jun 27, 2024
f4c4fd8
Merge branch 'main' into ltsf-transformer
geetu040 Jun 27, 2024
d7cfcef
add to api_reference [no ci]
geetu040 Jun 27, 2024
26ea526
fixes more of failing tests, details below. [no ci]
geetu040 Jun 28, 2024
b6efb31
missing model.eval()
geetu040 Jun 28, 2024
0d3b370
fix quality checks
geetu040 Jun 28, 2024
e2ffbda
update docstrings and index handling
geetu040 Jul 1, 2024
8b317c8
move network hyper params from config to init params
geetu040 Jul 1, 2024
0df7261
improve warning message
geetu040 Jul 1, 2024
9add4d8
add test_param
geetu040 Jul 1, 2024
1832be0
Merge branch 'main' into ltsf-transformer
geetu040 Jul 1, 2024
d603560
[AUTOMATED] update CONTRIBUTORS.md
geetu040 Jul 1, 2024
794b79f
Merge branch 'main' into ltsf-transformer
geetu040 Jul 15, 2024
385a4a5
apply pre-commit changes
geetu040 Jul 15, 2024
546aa84
Merge remote-tracking branch 'refs/remotes/fork/ltsf-transformer' int…
geetu040 Jul 15, 2024
26ed073
Merge branch 'main' into ltsf-transformer
geetu040 Jul 24, 2024
705f882
remove test skips for ltsf forecasters; as they are catered with tags
geetu040 Jul 24, 2024
9b23a73
Merge branch 'main' into ltsf-transformer; resolve conflicts
geetu040 Aug 4, 2024
f7a87c1
Merge branch 'main' into ltsf-transformer
geetu040 Aug 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/source/api_reference/forecasting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ Deep learning based forecasters
LTSFLinearForecaster
LTSFDLinearForecaster
LTSFNLinearForecaster
LTSFTransformerForecaster

.. currentmodule:: sktime.forecasting.hf_transformers_forecaster

Expand Down
1 change: 1 addition & 0 deletions sktime/forecasting/base/adapters/_pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def _predict(self, X=None, fh=None):
else:
dataloader = self.build_pytorch_pred_dataloader(X, fh)

self.network.eval()
y_pred = []
for x, _ in dataloader:
y_pred.append(self.network(x).detach())
Expand Down
Loading
Loading