-
Notifications
You must be signed in to change notification settings - Fork 422
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
[Refactor] Classification 3/n #1145
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SkafteNicki
added
enhancement
New feature or request
Priority
Critical task/issue
refactoring
refactoring and code health
labels
Jul 15, 2022
for more information, see https://pre-commit.ci
…hLightning/metrics into refactor/classification_3
for more information, see https://pre-commit.ci
…hLightning/metrics into refactor/classification_3
for more information, see https://pre-commit.ci
SkafteNicki
requested review from
edenlightning,
Borda,
justusschock,
tchaton,
ethanwharris and
SeanNaren
as code owners
July 18, 2022 13:03
…hLightning/metrics into refactor/classification_3
4 tasks
Codecov Report
@@ Coverage Diff @@
## devel/classification #1145 +/- ##
=====================================================
- Coverage 93% 92% -1%
=====================================================
Files 185 185
Lines 9178 9398 +220
=====================================================
+ Hits 8530 8668 +138
- Misses 648 730 +82 |
@justusschock, mind having a look? |
justusschock
approved these changes
Jul 22, 2022
This was referenced Jul 22, 2022
This was referenced Aug 1, 2022
4 tasks
Borda
added a commit
that referenced
this pull request
Aug 26, 2022
* fbeta init structure * working fbeta binary, multilabel * precision and recall functional * refactor testing * working fbeta in all cases * working precision recall with tests * formatting * docs * init files * fix stat score docstring * docstrings * flake8 * add link * fix integer division * Apply suggestions from code review * Apply suggestions from code review * docs * fix docs? * naming mistake * remove duplicate * fix docs * try fixing tests * docs * fix tests * docs * docs * try again * try again * again * again * please fix * please solve Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz>
4 tasks
Borda
added a commit
that referenced
this pull request
Sep 12, 2022
* fbeta init structure * working fbeta binary, multilabel * precision and recall functional * refactor testing * working fbeta in all cases * working precision recall with tests * formatting * docs * init files * fix stat score docstring * docstrings * flake8 * add link * fix integer division * Apply suggestions from code review * Apply suggestions from code review * docs * fix docs? * naming mistake * remove duplicate * fix docs * try fixing tests * docs * fix tests * docs * docs * try again * try again * again * again * please fix * please solve Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Borda
added a commit
that referenced
this pull request
Sep 12, 2022
* fbeta init structure * working fbeta binary, multilabel * precision and recall functional * refactor testing * working fbeta in all cases * working precision recall with tests * formatting * docs * init files * fix stat score docstring * docstrings * flake8 * add link * fix integer division * Apply suggestions from code review * Apply suggestions from code review * docs * fix docs? * naming mistake * remove duplicate * fix docs * try fixing tests * docs * fix tests * docs * docs * try again * try again * again * again * please fix * please solve Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Borda
added a commit
that referenced
this pull request
Sep 13, 2022
* fbeta init structure * working fbeta binary, multilabel * precision and recall functional * refactor testing * working fbeta in all cases * working precision recall with tests * formatting * docs * init files * fix stat score docstring * docstrings * flake8 * add link * fix integer division * Apply suggestions from code review * Apply suggestions from code review * docs * fix docs? * naming mistake * remove duplicate * fix docs * try fixing tests * docs * fix tests * docs * docs * try again * try again * again * again * please fix * please solve Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Borda
added a commit
that referenced
this pull request
Sep 13, 2022
* fbeta init structure * working fbeta binary, multilabel * precision and recall functional * refactor testing * working fbeta in all cases * working precision recall with tests * formatting * docs * init files * fix stat score docstring * docstrings * flake8 * add link * fix integer division * Apply suggestions from code review * Apply suggestions from code review * docs * fix docs? * naming mistake * remove duplicate * fix docs * try fixing tests * docs * fix tests * docs * docs * try again * try again * again * again * please fix * please solve Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
Priority
Critical task/issue
ready
refactoring
refactoring and code health
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Continues work on classification refactor #1001
Prior work:
This PR takes care of
precision
,recall
,fbeta
andf1
metrics which all are subclasses from the stat scores metric. Smaller changes to other files as I found a couple of mistakes from the prior work.Before submitting
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 🙃