Skip to content

Conversation

adrinjalali
Copy link
Member

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

@adrinjalali
Copy link
Member Author

cc @thomasjpfan @jnothman

def test_method_generation():
# Test if all required request methods are generated.

class SimpleEstimator(BaseEstimator):
Copy link
Member

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.

Copy link
Member Author

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.

Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants