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
Clean up xvalidation API #4049
Comments
Good example for time-series splitting based on simple iterator approach |
@karlnapf I wanna take this up. |
Go for it |
Hi @karlnapf ! By "make the splitting strategy an iterator" you mean creating a method (like split on sklearn's example) that would return iterators for the training (and test) set indices for that subset index? Such a method would internally call generate_subset_indices and generate_subset_inverse (with their new names as you suggested). Is my understanding correct? |
An iterator would be a next step, much cleaner, yes |
generate_subset_indices
andgenerate_subset_inverse
to something likeget_train
andget_validation
or even bettertrain
andvalidation
build_subsets
method (and do it in the constructor or lazily when the first index set is requested)Probably more to come. Have a look at the sklearn splittings at e.g. here
See also #3965
The text was updated successfully, but these errors were encountered: