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

Update interval metrics to handle missing values #541

Merged
merged 6 commits into from
Dec 23, 2024
Merged

Conversation

brsnw250
Copy link
Collaborator

@brsnw250 brsnw250 commented Dec 20, 2024

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 #535

@brsnw250 brsnw250 self-assigned this Dec 20, 2024
Copy link

github-actions bot commented Dec 20, 2024

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

@github-actions github-actions bot temporarily deployed to pull request December 20, 2024 12:43 Inactive
Copy link

codecov bot commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.35%. Comparing base (20d7fe9) to head (059675b).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #541   +/-   ##
=======================================
  Coverage   90.34%   90.35%           
=======================================
  Files         256      256           
  Lines       17327    17342   +15     
=======================================
+ Hits        15654    15669   +15     
  Misses       1673     1673           

☔ 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 December 20, 2024 14:13 Inactive
@brsnw250 brsnw250 requested a review from d-a-bunin December 20, 2024 14:42
Copy link
Collaborator

@d-a-bunin d-a-bunin left a comment

Choose a reason for hiding this comment

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

Werent' you going to check that Width can work on missing predictions?

etna/metrics/intervals_metrics.py Outdated Show resolved Hide resolved
etna/metrics/intervals_metrics.py Outdated Show resolved Hide resolved
tests/test_metrics/test_intervals_metrics.py Show resolved Hide resolved
@brsnw250 brsnw250 requested a review from d-a-bunin December 23, 2024 08:29
@github-actions github-actions bot temporarily deployed to pull request December 23, 2024 08:33 Inactive
@pytest.mark.parametrize(
"dataset_name", ("tsdataset_with_intervals_and_missing_values", "tsdataset_with_intervals_and_missing_segment")
)
def test_segment_all_missing_ignore_macro(metric, dataset_name, request):
Copy link
Collaborator

Choose a reason for hiding this comment

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

test_segment_all_missing_ignore_macro -> test_segment_all_missing_values_ignore_macro?

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a small, so it could be skipped.

@github-actions github-actions bot temporarily deployed to pull request December 23, 2024 09:05 Inactive
@brsnw250 brsnw250 merged commit b98c853 into master Dec 23, 2024
17 checks passed
@d-a-bunin d-a-bunin deleted the issue-535 branch December 23, 2024 10:07
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.

Update interval metrics to handle missing values
2 participants