Skip to content

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

Merged
marcopeix merged 4 commits intomainfrom
fix/tft_and_valsize_message
Feb 25, 2025
Merged

FIX: Minor bug fix in TFT and a nicer error message for fitting with the wrong val_size#1275
marcopeix merged 4 commits intomainfrom
fix/tft_and_valsize_message

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.

@review-notebook-app
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