Skip to content

fix: handle stack types if h is 1#339

Merged
AzulGarza merged 1 commit intomainfrom
fix/nbeats
Apr 27, 2026
Merged

fix: handle stack types if h is 1#339
AzulGarza merged 1 commit intomainfrom
fix/nbeats

Conversation

@AzulGarza
Copy link
Copy Markdown
Member

this pr handles nbeats' hpo space when h=1.

Copilot AI review requested due to automatic review settings April 27, 2026 22:34
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts the AutoNBEATS NeuralForecast wrapper to avoid invalid/unsupported N-BEATS hyperparameter search spaces when the forecast horizon h is 1.

Changes:

  • When config is not provided and h == 1, force stack_types to ["identity"] in the AutoNBEATS default HPO config.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@AzulGarza AzulGarza merged commit 07de745 into main Apr 27, 2026
13 of 14 checks passed
@AzulGarza AzulGarza deleted the fix/nbeats branch April 27, 2026 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants