-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
ENH allow all main top level methods to have a corresponding set metadata request #23342
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
ENH allow all main top level methods to have a corresponding set metadata request #23342
Conversation
def test_method_generation(): | ||
# Test if all required request methods are generated. | ||
|
||
class SimpleEstimator(BaseEstimator): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am wondering if we could move this estimator in sklearn.utils._testing
next to the Minimal*
estimator and test it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think after this PR we can slowly figure out what the common test estimators are and move them there. They have evolved quite a bit over time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR adds the missing top level methods to the list of methods which can have their own
set_{method}_request
.This is the result of our discussions in #22988
Fixes #22988