Repository navigation
[DOC] Add DLinear v2 tutorial notebook - #2445
Open
chetana1410 wants to merge 1 commit into
Open
chetana1410 wants to merge 1 commit into
chetana1410 wants to merge 1 commit into
Conversation
Show TimeSeries, TslibDataModule, and DLinear_pkg_v2 fit and predict on toy data, and register the notebook in the v2 tutorials page.
chetana1410
requested review from
benHeid,
fkiraly,
jdb78 and
phoeenniixx
as code owners
October 3, 2026 14:02
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2445 +/- ##
=======================================
Coverage ? 88.81%
=======================================
Files ? 218
Lines ? 11671
Branches ? 0
=======================================
Hits ? 10366
Misses ? 1305
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reference Issues/PRs
Fixes #2390.
What does this implement/fix? Explain your changes.
Adds a v2 tutorial notebook for DLinear and registers it in
docs/source/tutorials_v2.rst.The notebook builds a small numeric dataset, then walks through:
TimeSeriesTslibDataModule(context window, forecast horizon, scalers, metadata)DLinear_pkg_v2.fitandDLinear_pkg_v2.predictDLinear's current v2 implementation uses continuous features only, so the toy series has no categorical columns. The split is by series, with enough series for a non-empty train, validation, and test slice.
Ran the notebook locally. Training completed for 5 epochs, and
predictreturned forecasts of shape(290, 4).What should a reviewer concentrate their feedback on?
accelerator="cpu", no checkpoint, no logger) used so the example stays small.Did you add any tests for the change?
No. This is a documentation-only change.
nbsphinx_executeisnever, so the notebook is not executed in the docs build. It was executed locally.Any other comments?
Pre-commit hooks were run on the changed files (
nbqa-black,nbqa-ruff,nbqa-check-ast).PR checklist
pre-commit install.To run hooks independent of commit, execute
pre-commit run --all-files