Skip to content

Conversation

sanskarmodi8
Copy link
Contributor

@sanskarmodi8 sanskarmodi8 commented Oct 1, 2025

This PR updates the NBeatsAdapter to ensure that both NBeats and NBeatsKAN models return 3D tensors (batch_size, prediction_length, 1) for point predictions, aligning with the expected output format #1975.

Copy link

codecov bot commented Oct 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@b75ea42). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1977   +/-   ##
=======================================
  Coverage        ?   86.77%           
=======================================
  Files           ?      160           
  Lines           ?     9475           
  Branches        ?        0           
=======================================
  Hits            ?     8222           
  Misses          ?     1253           
  Partials        ?        0           
Flag Coverage Δ
cpu 86.77% <ø> (?)
pytest 86.77% <ø> (?)

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.

@sanskarmodi8
Copy link
Contributor Author

sanskarmodi8 commented Oct 1, 2025

I'm not sure why this particular test is failing in CI. When I run pytest -k "test_integration and NHiTS" -v locally, it passes without any errors.

@PranavBhatP
Copy link
Contributor

The tests are passing because it is currently skipped for NBeats and NBeatsKAN. Go to their respective package files namely NBeats_pkg and NBeatsKAN_pkg and remove the test skip tag at the bottom of _tags.

@PranavBhatP
Copy link
Contributor

When I run pytest -k "test_integration and NHiTS" -v

The model we are concerned about is NBeats not NHiTS right...

@sanskarmodi8
Copy link
Contributor Author

When I run pytest -k "test_integration and NHiTS" -v

The model we are concerned about is NBeats not NHiTS right...

Ah yes, you’re right—my bad! The test I ran locally was for NHiTS, but the model in my PR is NBeats. I just wanted to check that the changes I made didn’t break the workflow for a similar model.

@PranavBhatP
Copy link
Contributor

Thanks for the changes!

@fkiraly fkiraly added the bug Something isn't working label Oct 1, 2025
@sanskarmodi8
Copy link
Contributor Author

Hey, just wanted to check if there’s anything else needed from my side before it can be merged. Thanks!

Copy link
Member

@phoeenniixx phoeenniixx left a comment

Choose a reason for hiding this comment

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

Thanks!

@phoeenniixx phoeenniixx merged commit fd849cc into sktime:main Oct 8, 2025
14 of 15 checks passed
@phoeenniixx phoeenniixx changed the title Standardize output format of NBeats and NBeatsKAN estimators [BUG] Standardize output format of NBeats and NBeatsKAN estimators Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Fixed/resolved
Development

Successfully merging this pull request may close these issues.

4 participants