Skip to content

[ENH] Informer Implementation #1796

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

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

Conversation

Ankit-1204
Copy link

@Ankit-1204 Ankit-1204 commented Mar 13, 2025

Description

This PR tries to implement Informer Transformer, implementation is taken from thuml

Mentioned at sktime #4939

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!

@Ankit-1204
Copy link
Author

Ankit-1204 commented Mar 13, 2025

Hello, this was my first time implementing for pytorch-forecasting, i am currently looking into https://pytorch-forecasting.readthedocs.io/en/stable/tutorials/building.html , for some guidance.
I haven't added much as of now because i had some doubts as implementing models for pytorch-forecasting is somewhat different from sktime.
I gather that we're expected to use TimeSeriesDataSet and from_dataset() .

I'll look into other implementation for better understanding for now.

@Ankit-1204 Ankit-1204 changed the title Informer Implementation [ENH] Informer Implementation Mar 17, 2025
@fkiraly fkiraly moved this to PR in progress in Dec 2024 - Mar 2025 mentee projects Mar 17, 2025
Copy link

codecov bot commented Mar 21, 2025

Codecov Report

Attention: Patch coverage is 0% with 314 lines in your changes missing coverage. Please review.

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

Files with missing lines Patch % Lines
pytorch_forecasting/models/informer/sub_modules.py 0.00% 261 Missing ⚠️
pytorch_forecasting/models/informer/_informer.py 0.00% 53 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1796   +/-   ##
=======================================
  Coverage        ?   81.90%           
=======================================
  Files           ?       48           
  Lines           ?     5615           
  Branches        ?        0           
=======================================
  Hits            ?     4599           
  Misses          ?     1016           
  Partials        ?        0           
Flag Coverage Δ
cpu 81.90% <0.00%> (?)
pytest 81.90% <0.00%> (?)

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.

@Ankit-1204 Ankit-1204 marked this pull request as ready for review April 7, 2025 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant