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

Implement BasePredictionIntervals #86

Merged
merged 17 commits into from
Sep 21, 2023
Merged

Implement BasePredictionIntervals #86

merged 17 commits into from
Sep 21, 2023

Conversation

brsnw250
Copy link
Collaborator

@brsnw250 brsnw250 commented Sep 19, 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

Closing issues

closes #70

@brsnw250 brsnw250 self-assigned this Sep 19, 2023
@github-actions
Copy link

github-actions bot commented Sep 19, 2023

🚀 Deployed on https://deploy-preview-86--etna-docs.netlify.app

@github-actions github-actions bot temporarily deployed to pull request September 19, 2023 08:49 Inactive
@codecov
Copy link

codecov bot commented Sep 19, 2023

Codecov Report

Patch coverage: 93.18% and project coverage change: +0.01% 🎉

Comparison is base (c14b46d) 89.27% compared to head (5a0028e) 89.28%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
+ Coverage   89.27%   89.28%   +0.01%     
==========================================
  Files         206      208       +2     
  Lines       12869    12913      +44     
==========================================
+ Hits        11489    11530      +41     
- Misses       1380     1383       +3     
Files Changed Coverage Δ
etna/experimental/prediction_intervals/base.py 93.02% <93.02%> (ø)
etna/experimental/prediction_intervals/__init__.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot temporarily deployed to pull request September 19, 2023 08:59 Inactive
def test_forecast_intervals_exists(example_tsds, pipeline_name, expected_columns, request):
pipeline = request.getfixturevalue(pipeline_name)

intervals_pipeline = DummyPredictionIntervals(pipeline=pipeline)
Copy link
Collaborator

Choose a reason for hiding this comment

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

How is this code different from run_base_pipeline_compat_check?

)
def test_default_params_to_tune(pipeline):
intervals_pipeline = DummyPredictionIntervals(pipeline=pipeline)
assert intervals_pipeline.params_to_tune() == pipeline.params_to_tune()
Copy link
Collaborator

Choose a reason for hiding this comment

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

It shouldn't work like this. Because the pipeline. prefix should be added to each param in case of intervals_pipeline.

Copy link
Collaborator

Choose a reason for hiding this comment

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

What are we going to do with this check? Are we going to fix it in some other task related to params_to_tune?

@github-actions github-actions bot temporarily deployed to pull request September 20, 2023 11:25 Inactive
"expected_columns",
({"target_lower", "target_upper"},),
)
@pytest.mark.parametrize("pipeline_name", ("naive_pipeline", "naive_pipeline_with_transforms"))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we even need this test if we have test_pipelines_forecast_intervals.

@github-actions github-actions bot temporarily deployed to pull request September 21, 2023 10:27 Inactive
@github-actions github-actions bot temporarily deployed to pull request September 21, 2023 12:49 Inactive
@github-actions github-actions bot temporarily deployed to pull request September 21, 2023 13:16 Inactive
@github-actions github-actions bot temporarily deployed to pull request September 21, 2023 13:28 Inactive
@brsnw250 brsnw250 merged commit a8fdd3c into master Sep 21, 2023
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement BasePredictionIntervals
2 participants