Skip to content

[ENH] Implementing D2 data module, tests and TimeXer model from tslib for v2 #1836

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

Merged
merged 186 commits into from
Jun 20, 2025

Conversation

PranavBhatP
Copy link
Contributor

@PranavBhatP PranavBhatP commented May 15, 2025

Description

This PR fixes issue #1833.

This PR involves the following changes:

  • New dataset and datamodule for tslib - link
  • Implementation of TimeXer with new data module. - link
  • Base class implementation of a TslibBaseModel - link.
  • Tests for the tslib data module. - link
  • Example notebook - link
  • Restructure codebase to include a layers directory for module containing architectural deep learning layer classes.
  • Metadata container for _timexer.py using the v2 framework - link

Checklist

  • Linked issues (if existing)
  • Amended changelog for large changes (and added myself there as contributor)
  • Added/modified tests
  • Used pre-commit hooks when committing to ensure that code is compliant with hooks. Install hooks with pre-commit install.
    To run hooks independent of commit, execute pre-commit run --all-files

Make sure to have fun coding!

@fkiraly fkiraly added enhancement New feature or request labels Jun 18, 2025
@fkiraly
Copy link
Collaborator

fkiraly commented Jun 19, 2025

is this ready to review?

@PranavBhatP
Copy link
Contributor Author

PranavBhatP commented Jun 19, 2025

is this ready to review?

yes, it has been for a while.

@PranavBhatP PranavBhatP requested a review from agobbifbk June 19, 2025 14:18
Copy link
Collaborator

@fkiraly fkiraly left a comment

Choose a reason for hiding this comment

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

Fine with me - I suppose we will run into issues when we make the output format more stringent, but that is best left to a separate PR.

Nice!

@fkiraly fkiraly merged commit 33041c7 into sktime:main Jun 20, 2025
35 checks passed
@github-project-automation github-project-automation bot moved this from PR under review to Done in May - Sep 2025 mentee projects Jun 20, 2025
fkiraly pushed a commit that referenced this pull request Jun 23, 2025
### Description

This PR works on issue #1869 to implement `DLinear` from `tslib`. Stacks
on #1836 and #1841.

Files to review (just pointing this out since there's a lot of files in
the stack, not relevant to this PR).
- dlinear model -
[link](https://github.com/sktime/pytorch-forecasting/blob/7f0495d6875ce918a9ffca1bb1ea895313ec81bb/pytorch_forecasting/models/dlinear/_dlinear.py)
- layers -
[link](https://github.com/sktime/pytorch-forecasting/blob/7f0495d6875ce918a9ffca1bb1ea895313ec81bb/pytorch_forecasting/layers/decomposition/_series_decomp.py)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

5 participants