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

Add a ShuffleSplit method #2583

Open
vchabri opened this issue Mar 21, 2024 · 1 comment
Open

Add a ShuffleSplit method #2583

vchabri opened this issue Mar 21, 2024 · 1 comment

Comments

@vchabri
Copy link
Collaborator

vchabri commented Mar 21, 2024

What is the idea?

It would be valuable and useful to have a "ShuffleSplit" method such as the one available in Scikit-learn in order to split a Sample into, e.g., two subsamples based on a random shuffling strategy.

Why is this needed?

Such a task is very useful for metamodel training and validation.

Additional Context

Here are the main references:

@mbaudin47
Copy link
Collaborator

mbaudin47 commented Mar 21, 2024

A workaround is to use the method presented in plot_randomize_sample_lines.html. This essentially amounts to using KPermutationsDistribution.

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

No branches or pull requests

2 participants