Skip to content

FEAT add metadata routing to splitters #22765

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
merged 8 commits into from
Mar 18, 2022

Conversation

adrinjalali
Copy link
Member

This PR adds metadata routing to splitters.

*Group* splitters request groups as REQUESTED by default.

@adrinjalali
Copy link
Member Author

ready for review @lorentzenchr @thomasjpfan @jnothman

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.

Thanks for the follow up PR!

Copy link
Member

@jnothman jnothman left a comment

Choose a reason for hiding this comment

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

Btw, I'm quite happy with this. Just waiting to see the resolution of @thomasjpfan's comments.

@adrinjalali
Copy link
Member Author

@thomasjpfan I'm not sure what I should do here now.

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.

Minor comment about test, otherwise LGTM

Copy link
Member

@jnothman jnothman left a comment

Choose a reason for hiding this comment

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

I’d also prefer if we are testing the objects not their reprs, but I know we’ve done so in the base sample props implementation

@adrinjalali
Copy link
Member Author

Merging - updated the test as requested.

@adrinjalali adrinjalali merged commit 1dc6f5f into scikit-learn:sample-props Mar 18, 2022
@adrinjalali adrinjalali deleted the slep6/split branch March 18, 2022 16:04
adrinjalali added a commit that referenced this pull request Mar 22, 2022
* FEAT add metadata routing to splitters

* forgot black

* add end of file line

* ignore mypy error

* SIMPLE_SPLITTERS -> NO_GROUP_SPLITTERS

* simplify comment

* add notes on what the tests do

* improve test and avoid using repr
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