-
-
Notifications
You must be signed in to change notification settings - Fork 26k
[MRG] Support for multi-class roc_auc scores #10462
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
Closed
maskani-moh
wants to merge
1,014
commits into
scikit-learn:master
from
maskani-moh:multiclass-roc-auc
Closed
[MRG] Support for multi-class roc_auc scores #10462
maskani-moh
wants to merge
1,014
commits into
scikit-learn:master
from
maskani-moh:multiclass-roc-auc
Conversation
This file contains hidden or 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
fixes doc formatting.
* Add missing mixins to ClassifierChain * Fix import in test
* change data, don't regularize, call plt.show
- Fixes rendering of docstring examples - Instead of importing cross_val_score in example, cross_validate is imported
Root URL responds with: `mysql://���:@localhost/nuke failed to connectAccess denied for user '���'@'localhost' (using password: YES)`
…lPCA uses float division (scikit-learn#9492) * Ensures that partial_fit uses float division * Switches to using future division for float division * Adds non-regression test for issue scikit-learn#9489 * Updates test to remove dependence on a "known answer" * Updates doc/whats_new.rst with entry for this PR * Specifies bug fix is for Python 2 versions in doc/whats_new.rst
…#10091) Put calls to `clock()` inside conditional statements. This helps combat thread contention when executing TSNE in sklearn, compiled with icc. Running TSNE on MNIST dataset (training + validation + test) of 70_000 hand-written images 28 by 28 pixels each, time of TSNE drops from 92 seconds to 81 seconds from this change alone.
… vectors (scikit-learn#10095) * add test for issue scikit-learn#10092 * add comment to test * split into two tests * add tests for scores, alpha and beta * adapt tests: n_samples != n_features * add test when no intercept is fitted * add handling of constant target vector when intercept is fitted * fix typo in comments * fix format issues * replace original fix with simpler fix * add comment * increase upper boundary for test * increase upper boundary for test * merge tests for ARDRegression and BayesianRidge * use random state in tests * decrease upper bound for std * replace np.spacing(1) -> np.finfo(np.float64).eps
…arn#10080) Also add examples/.flake8 for examples specific flake8 configuration
…rn#10132) https://github.com/numpy/numpy/pull/9332/files change sign='legacy' to legacy=True in the np.set_printoptions arguments.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Reference Issues/PRs
Issue #3298
Fixes #7663
What does this implement/fix? Explain your changes.
np.allclose(1, y_score.sum(axis=1))
Any other comments?
The tests were already done under
test_multi_ovr_auc_toydata
when we havemulticlass="ovr"
andaverage="weighted"