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

Fix broken clone method for classification metrics #1250

Merged
merged 9 commits into from
Oct 6, 2022

Conversation

SkafteNicki
Copy link
Member

@SkafteNicki SkafteNicki commented Oct 5, 2022

What does this PR do?

Fixes #1249
metric.clone() method is broken after the refactor. Try to fix it.

Before submitting

  • Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

@SkafteNicki SkafteNicki added the bug / fix Something isn't working label Oct 5, 2022
@SkafteNicki SkafteNicki added this to the v0.10 milestone Oct 5, 2022
@SkafteNicki SkafteNicki changed the title fix clone method Fix broken clone method for classification metrics Oct 5, 2022
@codecov
Copy link

codecov bot commented Oct 5, 2022

Codecov Report

Merging #1250 (b567ac8) into master (4aeb6cb) will increase coverage by 0%.
The diff coverage is 98%.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #1250   +/-   ##
======================================
  Coverage      86%     86%           
======================================
  Files         193     195    +2     
  Lines       11404   11463   +59     
======================================
+ Hits         9778    9836   +58     
- Misses       1626    1627    +1     

@mergify mergify bot added the ready label Oct 5, 2022
@Borda Borda enabled auto-merge (squash) October 5, 2022 23:35
@Borda Borda merged commit 2856e0b into master Oct 6, 2022
@Borda Borda deleted the bugfix/broken_cloning branch October 6, 2022 09:18
Borda pushed a commit that referenced this pull request Oct 21, 2022
* fix clone method
* chlog

Co-authored-by: Jirka <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

(cherry picked from commit 2856e0b)
Borda pushed a commit that referenced this pull request Oct 21, 2022
* fix clone method
* chlog

Co-authored-by: Jirka <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

(cherry picked from commit 2856e0b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug / fix Something isn't working ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

clone() throwing exception on single Metric or MetricCollection
3 participants