-
-
Notifications
You must be signed in to change notification settings - Fork 26.5k
[MRG+1] Add predict_proba(X) and outlier handler for RadiusNeighborsClassifier #9597
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
Merged
+265
−37
Merged
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
236c766
add predict_proba method for RadiusNeighborsClassifier
webber26232 67a59cd
add warning
webber26232 b69eef1
DOC Add predict_proba in class description
webber26232 9ac27e1
Finish formats
webber26232 9b46e2a
Finish formats
webber26232 dc9069c
Add test, improve warning
webber26232 f30ed4f
Add test
webber26232 0982ee3
add outlier handler
webber26232 9565eac
format, 2.7 float divide
webber26232 5baa070
modify code length
webber26232 1ceab5a
indent
webber26232 cd1c25f
add _check_outlier_handler, prepare for regressor
webber26232 be801b6
format
webber26232 d6a2ff8
bug
webber26232 96cb19e
outlier
webber26232 4b480a5
random int -> randomly choose class labels from y
webber26232 6f6c96c
fix weights index and vector scalar bug
webber26232 32e7207
fix weights inlier index, change inlier addition to assign, get index…
webber26232 8bb0ecf
resolve regression conflict
webber26232 0740152
Merge branch 'master' of https://github.com/scikit-learn/scikit-learn…
webber26232 326fc22
formatting regression, remove prior/uniform, add most_frequent, move …
webber26232 0804952
fix inheritance
webber26232 3964fa5
fix typo
webber26232 6a53c9f
move oultier handler into fit(), add outlier label lists for multi ou…
webber26232 610a722
_init_param to super().__init__()
webber26232 db5a29c
change None to "raise" in testing
webber26232 7f491db
format
webber26232 9880d51
format
webber26232 8dcb4f3
change back from "raise" to None, fix some typos
webber26232 e4e28fa
fix indent conflicts
webber26232 135f0c4
fix documentation, indices, add predict_proba tests
webber26232 d86e1dd
add a space in doc
webber26232 7f7a840
improve documentation
webber26232 40c41b4
add warning for zero probas, simplify outlier indexing, merge testing…
webber26232 e8e432e
Merge branch 'master' into RadNeiClfPredProb
webber26232 f7e5891
fix assert_warns
webber26232 c9dd3c2
Merge branch 'RadNeiClfPredProb' of github.com:webber26232/scikit-lea…
webber26232 9d37e4f
Merge branch 'master' into RadNeiClfPredProb
webber26232 d365c0a
Merge branch 'master' into RadNeiClfPredProb
webber26232 291d1d7
Merge branch 'master' into RadNeiClfPredProb
webber26232 9ff7130
Merge pull request #1 from scikit-learn/master
webber26232 ad96981
Merge branch 'RadNeiClfPredProb' of github.com:webber26232/scikit-learn
webber26232 b32b45c
change predict() implementaion, add docs in whats_new
webber26232 1a57da0
Merge pull request #2 from scikit-learn/master
webber26232 6b63d38
Merge branch 'master' of github.com:webber26232/scikit-learn
webber26232 4b1c9cf
Merge branch 'master' into RadNeiClfPredProb
webber26232 19d95e5
remove changes in 0.20 docs
webber26232 69b88e6
change external.six to six
webber26232 8c8163b
format doc strings
webber26232 543e1ed
fix grammer in docs
webber26232 e73a20a
Move predict function for cleaner diff
TomDLT 0208a60
Merge branch 'master' into RadNeiClfPredProb
webber26232 1638ee5
Update doc/whats_new/v0.22.rst
webber26232 39180ac
Update sklearn/neighbors/tests/test_neighbors.py
webber26232 644a9f1
Update doc/whats_new/v0.22.rst
webber26232 a21eb5c
Update doc/whats_new/v0.22.rst
webber26232 87b5288
add doc for iterations over multi-outputs, use np.flatnonzero instead…
webber26232 13712f2
Merge branch 'RadNeiClfPredProb' of github.com:webber26232/scikit-lea…
webber26232 ab73440
add outlier_label scalar verification and unit test, fix format, add …
webber26232 83cba2d
Merge pull request #3 from scikit-learn/master
webber26232 3783c9b
Merge branch 'RadNeiClfPredProb' of github.com:webber26232/scikit-lea…
webber26232 5f2d33e
better docs
webber26232 6ac2ffb
Update v0.22.rst
TomDLT File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.