-
-
Notifications
You must be signed in to change notification settings - Fork 26k
ENH Add metadata routing for RANSACRegressor
#28261
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
OmarManzoor
merged 39 commits into
scikit-learn:main
from
StefanieSenger:metadata_RANSACRegressor
Feb 26, 2024
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
5286d47
unfinished metadata implementation for ransacregressor
StefanieSenger 35ec69b
fixes
StefanieSenger 23fd9bf
not quite but almost working fix
StefanieSenger eaaab39
fix for legacy build of routed_params
StefanieSenger 807fcc5
fix
StefanieSenger a9116cc
ConsumingRegressor for LinearRegression because the latter doesnt con…
StefanieSenger 6be1762
adjust test to set multiple metadata requests and meaningful errormes…
StefanieSenger 8e492a4
fix missing requests test for multiple routings
StefanieSenger 8fc3bd3
Apply suggestions from code review
StefanieSenger 1308bcc
improvements after review
StefanieSenger 75f1e4f
Merge branch 'metadata_RANSACRegressor' of github.com:StefanieSenger/…
StefanieSenger 1935838
more improvements triggered by review
StefanieSenger 928d99c
route metadata from score to predict
StefanieSenger 37070ec
minor things
StefanieSenger 9a96eb8
prepared ConsumingRegressor for test in test_ransac
StefanieSenger d308d94
fit_params should not be routed to sub_estimator.predict
StefanieSenger 5bea176
excluded estimator.predict from tests
StefanieSenger f66761d
Update sklearn/linear_model/_ransac.py
StefanieSenger 7d8c156
catch FutureWarning
StefanieSenger 341ded5
adjusted tests to ConsumingRegressor now uses own score method
StefanieSenger bcd9ab5
add comment for deprecation of positional argument
StefanieSenger 7be5cce
Merge branch 'main' into metadata_RANSACRegressor
StefanieSenger 3145bc4
repair test and revert merge conflict errors
StefanieSenger 423f6dd
bypass FutureWarnings
StefanieSenger 2edff90
bypass FutureWarning
StefanieSenger f0bcdd4
correct passing of ConsumingRegressor
StefanieSenger 2c73de4
raise to prevent silent bug
StefanieSenger fa1d712
changes after review
StefanieSenger c3bb0c1
Merge branch 'main' into metadata_RANSACRegressor
StefanieSenger 4f45a6b
typo
StefanieSenger d3ac747
Add method_mapping to the common test definitions of the metaestimators
adrinjalali 508cc85
without re-raising error message after review
StefanieSenger 8ed5e86
Merge branch 'main' into metadata_RANSACRegressor
StefanieSenger 9d1e310
fixed test for Bagging*
StefanieSenger ff274de
Merge branch 'main' into metadata_RANSACRegressor
StefanieSenger 2b1c4e8
shorter variable name
StefanieSenger cc7a054
Update sklearn/tests/metadata_routing_common.py
StefanieSenger 175c496
Update sklearn/tests/test_metaestimators_metadata_routing.py
OmarManzoor 3af9455
Update sklearn/tests/test_metaestimators_metadata_routing.py
OmarManzoor 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
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.