Skip to content
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

FIX: Minor bug fix in TFT and a nicer error message for fitting with the wrong val_size #1275

Merged
merged 4 commits into from
Feb 25, 2025

Conversation

marcopeix
Copy link
Contributor

Issue 1: #1273

  • The default value of rnn_type in TFT was in uppercase. This caused errors for the StaticCovariateEncoder. This PR simply ensures it's in lowercase, which fixes the issue.

Issue 2: #1268

  • Currently, there is no protection in setting val_size < h, which causes errors when fitting a model. This PR adds a protection and a nicer message in those situations.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Contributor

@elephaint elephaint left a comment

Choose a reason for hiding this comment

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

Good catch! LGTM

@marcopeix marcopeix merged commit 52aa0d6 into main Feb 25, 2025
17 checks passed
@marcopeix marcopeix deleted the fix/tft_and_valsize_message branch February 25, 2025 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants