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

Classification Refactor [rebase & merge] #1195

Merged
merged 18 commits into from
Sep 13, 2022
Merged

Classification Refactor [rebase & merge] #1195

merged 18 commits into from
Sep 13, 2022

Conversation

justusschock
Copy link
Member

@justusschock justusschock commented Aug 26, 2022

What does this PR do?

Fixes #1001 by @SkafteNicki

Following issues will additionally be closed (reason commented in each issue):
Fixes #304
Fixes #452
Fixes #530
Fixes #604
Fixes #613
Fixes #625
Fixes #655
Fixes #656
Fixes #663
Fixes #746
Fixes #782
Fixes #837
Fixes #935
Fixes #961
Fixes #1017
Fixes #1040
Fixes #1101
Fixes #1119
Fixes #1131
Fixes #1172
Fixes #1208

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 🙃

Remaining TODO:

  • Deprecate old implementations
  • Update Package __init__s

DO NOT MERGE BEFORE ALL TODOS HAVE BEEN RESOLVED

@codecov
Copy link

codecov bot commented Aug 26, 2022

Codecov Report

Merging #1195 (d5cc13c) into master (91cd625) will decrease coverage by 8%.
The diff coverage is 81%.

@@           Coverage Diff            @@
##           master   #1195     +/-   ##
========================================
- Coverage      94%     86%     -8%     
========================================
  Files         185     191      +6     
  Lines        8408   11310   +2902     
========================================
+ Hits         7896    9691   +1795     
- Misses        512    1619   +1107     

@Borda Borda added enhancement New feature or request Priority Critical task/issue Important milestonish refactoring refactoring and code health working as intended API / design labels Aug 26, 2022
@Borda Borda added this to the v0.10 milestone Aug 26, 2022
SkafteNicki and others added 7 commits September 13, 2022 02:53
* ranking

* implementation

* tests

* init

* docs

* mypy

* fix doctest

* fix docs

* try fix cpu half test

* missing import
* some idea

* implementation stuff

* error message

* somethings working

* working

* working multilabel precision recall

* docstrings

* working average precision

* working roc

* working auroc

* working precision at recall

* docs

* init files

* beginning doctest

* more docs

* more docs

* more docs

* more docs

* more docs

* more docs

* correction to math

* fix mypy

* add suggestions

* change default from 100 to None

* fix

* fix

* some fixes

* suggestions for stancld

* try fixing

* try fix

* try again

* more fixing

* another fix

* skip half + cpu test for old versions

* fix link

* another fix

* nan safety

* another fix

* skip non working cpu half tests

* skip non working cpu + half tests
* changes

* some code

* updates

* working calibration

* improve tests

* docs

* update

* init files

* docs calibration error

* update

* hinge loss

* docs

* fix type issue

* fix

* cast dtype

* ci

* skip non supported cpu half tests

Co-authored-by: Jirka <jirka.borovec@seznam.cz>
* micro to macro

* new kl

* deprecate old

* move auc

* move tests around

* change import paths

* update test path

* change ref

* Apply suggestions from code review

Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>

* update doctests

* doctests fix

Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
* example

* stat scores

* revert

* remove old tests

* deprecate binned

* remove init

* warning functionals

* docs update

* add __new__ for class wrapping

* update imports in docstrings

* fix one mistake

* fix doctests

* Apply suggestions from code review

* elif

* kwargs

* kwargs + elif

* text

* fix gpu testing

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* try
* return Metric
* fix top_k, average
* assert
* fixing
* imports
@Borda Borda requested a review from a team September 13, 2022 00:58
@Borda Borda enabled auto-merge (rebase) September 13, 2022 08:42
@Borda Borda changed the title WIP: Classification Refactor [rebase & merge] Classification Refactor [rebase & merge] Sep 13, 2022
@Borda Borda merged commit 1fa37a4 into master Sep 13, 2022
@Borda Borda deleted the devel/classification branch September 13, 2022 09:24
@mergify mergify bot added the ready label Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment