Skip to content

Issue-1078: missed kwargs in TFT init #1084

Merged
merged 3 commits into from
Jan 30, 2023
Merged

Issue-1078: missed kwargs in TFT init #1084

merged 3 commits into from
Jan 30, 2023

Conversation

martins0n
Copy link
Contributor

@martins0n martins0n commented Jan 27, 2023

Before submitting (must do checklist)

  • Did you read the contribution guide?
  • Did you update the docs? We use Numpy format for all the methods and classes.
  • Did you write any new necessary tests?
  • Did you update the CHANGELOG?

Proposed Changes

I've checked other inits. It seems TFT is the only model with such issue

Closing issues

closes #1078

@martins0n martins0n changed the title Issue 1078 Issue-1078: missed kwargs in TFT init Jan 27, 2023
@github-actions
Copy link

github-actions bot commented Jan 27, 2023

@github-actions github-actions bot temporarily deployed to pull request January 27, 2023 19:14 Inactive
@github-actions github-actions bot temporarily deployed to pull request January 27, 2023 19:18 Inactive
@codecov-commenter
Copy link

codecov-commenter commented Jan 27, 2023

Codecov Report

Merging #1084 (b8b91a0) into master (e5ce280) will decrease coverage by 0.11%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master    #1084      +/-   ##
==========================================
- Coverage   87.08%   86.98%   -0.11%     
==========================================
  Files         170      170              
  Lines        9309     9310       +1     
==========================================
- Hits         8107     8098       -9     
- Misses       1202     1212      +10     
Impacted Files Coverage Δ
etna/models/nn/tft.py 99.13% <100.00%> (+<0.01%) ⬆️
etna/models/tbats.py 85.00% <0.00%> (-10.00%) ⬇️
etna/transforms/nn/pytorch_forecasting.py 90.47% <0.00%> (-4.77%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Mr-Geekman Mr-Geekman self-requested a review January 30, 2023 07:42
@@ -187,3 +187,11 @@ def test_save_load(example_tsds):
transform = _get_default_transform(horizon)
transforms = [transform]
assert_model_equals_loaded_original(model=model, ts=example_tsds, transforms=transforms, horizon=horizon)


def test_repr():
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we want to add the same test for deep-ar? Because it can be strange that we have this test for tft, but doesn't have for deep-ar.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think so.
I've added this test because there was issue with TFT.

Otherwise we should add such tests for every representable object not only deepar - and I think it doesn't make much sense for now

Copy link
Contributor

@Mr-Geekman Mr-Geekman left a comment

Choose a reason for hiding this comment

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

Look at comments above.

@martins0n martins0n merged commit 0c0ce27 into master Jan 30, 2023
@martins0n martins0n deleted the issue-1078 branch January 30, 2023 09:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] KeyError while training TFT pipeline
3 participants