Skip to content

Fixes from inference track #1096

Merged
merged 9 commits into from
Feb 15, 2023
Merged

Fixes from inference track #1096

merged 9 commits into from
Feb 15, 2023

Conversation

Mr-Geekman
Copy link
Contributor

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

Look #1093.

  1. We should discuss is suggested solution for HierarchicalPipeline ok.
  2. We should discuss how are we going to fix old NNs (they broke).

Closing issues

Closes #1093.

@Mr-Geekman Mr-Geekman self-assigned this Feb 6, 2023
@github-actions
Copy link

github-actions bot commented Feb 6, 2023

@github-actions github-actions bot temporarily deployed to pull request February 6, 2023 12:53 Inactive
@codecov-commenter
Copy link

codecov-commenter commented Feb 6, 2023

Codecov Report

Merging #1096 (85a1b9b) into etna_v2 (556e25b) will increase coverage by 17.70%.
The diff coverage is 94.28%.

📣 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              @@
##           etna_v2    #1096       +/-   ##
============================================
+ Coverage    69.04%   86.74%   +17.70%     
============================================
  Files          177      166       -11     
  Lines         9661     9390      -271     
============================================
+ Hits          6670     8145     +1475     
+ Misses        2991     1245     -1746     
Impacted Files Coverage Δ
etna/models/nn/utils.py 84.05% <86.66%> (+0.31%) ⬆️
etna/models/nn/__init__.py 100.00% <100.00%> (ø)
etna/models/nn/deepar.py 97.26% <100.00%> (+17.80%) ⬆️
etna/models/nn/tft.py 97.77% <100.00%> (+31.11%) ⬆️
etna/pipeline/hierarchical_pipeline.py 98.50% <100.00%> (+58.12%) ⬆️
etna/settings.py 73.13% <0.00%> (-0.75%) ⬇️
etna/models/nn/rnn.py 100.00% <0.00%> (ø)
etna/experimental/classification/base.py
etna/experimental/classification/predictability.py
etna/experimental/classification/utils.py
... and 75 more

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

@github-actions github-actions bot temporarily deployed to pull request February 14, 2023 12:50 Inactive
@github-actions github-actions bot temporarily deployed to pull request February 14, 2023 13:49 Inactive
"""
fit_ts = self._fit_ts

try:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why you did it via try/except?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What is your alternative? I wanted to make action inside finally block even if there is some exception. That is why I did it like this.

def check_no_fit_ts(path):
assert not hasattr(pipeline, "_fit_ts")

mocked_load.side_effect = check_no_fit_ts
Copy link
Collaborator

Choose a reason for hiding this comment

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

mocked_save?

@github-actions github-actions bot temporarily deployed to pull request February 14, 2023 15:39 Inactive
@alex-hse-repository alex-hse-repository merged commit d44e0f3 into etna_v2 Feb 15, 2023
alex-hse-repository pushed a commit that referenced this pull request Feb 22, 2023
alex-hse-repository pushed a commit that referenced this pull request Mar 2, 2023
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.

4 participants