Skip to content

[ENH] add tests for TiDEModel with test_tide.py #1814

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

Closed
wants to merge 9 commits into from

Conversation

PranavBhatP
Copy link
Contributor

@PranavBhatP PranavBhatP commented Apr 7, 2025

Description

This PR fixes #1807

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!

Copy link

codecov bot commented Apr 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@e87230b). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1814   +/-   ##
=======================================
  Coverage        ?   88.88%           
=======================================
  Files           ?       46           
  Lines           ?     5301           
  Branches        ?        0           
=======================================
  Hits            ?     4712           
  Misses          ?      589           
  Partials        ?        0           
Flag Coverage Δ
cpu 88.88% <ø> (?)
pytest 88.88% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fkiraly fkiraly moved this to PR in progress in May - Sep 2025 mentee projects May 19, 2025
@PranavBhatP PranavBhatP marked this pull request as ready for review May 19, 2025 06:36
@fkiraly fkiraly moved this from PR in progress to PR under review in May - Sep 2025 mentee projects May 19, 2025
@phoeenniixx
Copy link
Contributor

These tests are mainly for v1 right?
So these are mainly dependent on #1780 right? As _integration test will be handled by the testing framework, then will it be necessary to add the same test here as well? Are both the implementations different in some manner?

@PranavBhatP
Copy link
Contributor Author

These tests are mainly for v1 right?

Yes, you are right. Currently the code here is independent of that PR, as I wanted to get it working with the v1 design. WIll try to make changes to align it with the PR 1780.

fnhirwa and others added 6 commits May 22, 2025 10:38
…mport` (sktime#1818)

The issue was spotted in sktime via
sktime/sktime#8061

Updated the implementation and copied the unit tests to ensure that it
works with pytorch-forecasting.
closes sktime#1815
### Description

This PR implements the basic skeleton of D1 and D2 layer for v2.

See sktime#1736 for discussion and design.
This PR solves the bug in `data_module` where the
`static_categorical_features` and `static_continuous_features` were not
correctly calculated in `__getitem__` of nested class
…1832)

This PR makes the `data_modulel` dataclass-like
See discussion in sktime#1829
@github-project-automation github-project-automation bot moved this from PR under review to Done in May - Sep 2025 mentee projects May 22, 2025
@github-project-automation github-project-automation bot moved this from PR in progress to Done in Dec 2024 - Mar 2025 mentee projects May 22, 2025
@PranavBhatP
Copy link
Contributor Author

This PR seems to have gotten messy, closing this for now and opening a better version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[ENH] add tests for TiDE in pytorch-forecasting
4 participants