[ENH] Implement NBEATS in v2 - #2373
Conversation
Signed-off-by: Faakhir30 <zahidfaakhir@gmail.com>
Signed-off-by: Faakhir30 <zahidfaakhir@gmail.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2373 +/- ##
=======================================
Coverage ? 87.35%
=======================================
Files ? 203
Lines ? 11318
Branches ? 0
=======================================
Hits ? 9887
Misses ? 1431
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:
|
| "generic": generic, | ||
| } | ||
|
|
||
| def training_step( |
There was a problem hiding this comment.
are test_step etc not needed?
There was a problem hiding this comment.
yeah, test_step and validation_step should be implemented considering the backcast_loss thing. added now, mb
Signed-off-by: Faakhir30 <zahidfaakhir@gmail.com>
phoeenniixx
left a comment
There was a problem hiding this comment.
Thanks,
Can you please add the docstrings - they are either missign or are incomplete (not explaining the class, method and (or) lacking the explaination of params)
ALso, i feel the adapter has soo much "AI" code, can you reduce the commetns (which are not needed, or atleast remove ---) And the format and explain the docstrings there
|
|
||
|
|
||
| class NBeatsAdapterV2(TslibBaseModel): | ||
| """Shared forward / training helpers for NBeats and NBeatsKAN (v2).""" |
There was a problem hiding this comment.
i think it will also be used for NBEATx or?
| class NBeatsAdapterV2(TslibBaseModel): | ||
| """Shared forward / training helpers for NBeats and NBeatsKAN (v2).""" | ||
|
|
||
| def __init__( |
| from pytorch_forecasting.models.base._tslib_base_model_v2 import TslibBaseModel | ||
|
|
||
|
|
||
| class NBeatsAdapterV2(TslibBaseModel): |
WIP
Reference Issues/PRs
What does this implement/fix? Explain your changes.
What should a reviewer concentrate their feedback on?
Did you add any tests for the change?
Any other comments?
PR checklist
pre-commit install.To run hooks independent of commit, execute
pre-commit run --all-files