Skip to content

Remove deprecation warnings #1118

Merged
merged 7 commits into from Feb 20, 2023
Merged

Remove deprecation warnings #1118

merged 7 commits into from Feb 20, 2023

Conversation

alex-hse-repository
Copy link
Collaborator

@alex-hse-repository alex-hse-repository commented Feb 15, 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

  1. Remove deprecation warnings from the code:
  • sample_acf_plot, sample_pacf_plot
  • CatBoostModelPerSegment, CatBoostModelMultiSegment
  1. Fix examples
  2. Fix bun in AutoregressivePipeline -- no inverse_transform of model's forecast

Closing issues

@github-actions
Copy link

github-actions bot commented Feb 15, 2023

@github-actions github-actions bot temporarily deployed to pull request February 15, 2023 13:22 Inactive
@codecov-commenter
Copy link

codecov-commenter commented Feb 15, 2023

Codecov Report

❗ No coverage uploaded for pull request base (etna_v2@d44e0f3). Click here to learn what that means.
The diff coverage is n/a.

📣 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    #1118   +/-   ##
==========================================
  Coverage           ?   69.01%           
==========================================
  Files              ?      177           
  Lines              ?     9654           
  Branches           ?        0           
==========================================
  Hits               ?     6663           
  Misses             ?     2991           
  Partials           ?        0           

📣 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 15, 2023 13:29 Inactive
@github-actions github-actions bot temporarily deployed to pull request February 15, 2023 13:40 Inactive
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions github-actions bot temporarily deployed to pull request February 20, 2023 11:18 Inactive
@@ -138,7 +139,7 @@ def test_forecast_one_step(example_tsds):

# make predictions in AutoRegressivePipeline
model = LinearPerSegmentModel()
transforms = [LagTransform(in_column="target", lags=[1])]
transforms = [AddConstTransform(in_column="target", value=10), LagTransform(in_column="target", lags=[1])]
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we going to make this change?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, understood.

@@ -145,7 +145,7 @@ def _forecast(self) -> TSDataset:
self.model = cast(ContextIgnorantModelType, self.model)
current_ts_forecast = current_ts.make_future(future_steps=current_step, transforms=self.transforms)
current_ts_future = self.model.forecast(ts=current_ts_forecast)

current_ts_future.inverse_transform(self.transforms)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we going to make this change?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, understood.

@alex-hse-repository alex-hse-repository merged commit 971d9a8 into etna_v2 Feb 20, 2023
@Mr-Geekman Mr-Geekman deleted the remove_deprication branch February 20, 2023 13:08
alex-hse-repository added a commit that referenced this pull request Feb 22, 2023
alex-hse-repository added 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.

None yet

3 participants