Skip to content
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] Make indexing routines reusable. #5736

Open
wants to merge 9 commits into
base: branch-24.04
Choose a base branch
from

Conversation

trivialfis
Copy link
Member

Move the function _safe_indexing and its dependencies to the top-level sklearn utils so that it's more accessible to other modules.

I need this for working with cross-validation where indexing is required to split the data.

@trivialfis trivialfis added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jan 30, 2024
@trivialfis trivialfis requested a review from a team as a code owner January 30, 2024 21:10
@github-actions github-actions bot added the Cython / Python Cython or Python issue label Jan 30, 2024
@trivialfis trivialfis added the 3 - Ready for Review Ready for review by team label Jan 31, 2024
@trivialfis trivialfis changed the base branch from branch-24.02 to branch-24.04 February 1, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team Cython / Python Cython or Python issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants