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

Groupkfold or Groupshufflesplit Cross Validation #37

Closed
kmedved opened this issue Jul 6, 2021 · 1 comment
Closed

Groupkfold or Groupshufflesplit Cross Validation #37

kmedved opened this issue Jul 6, 2021 · 1 comment

Comments

@kmedved
Copy link

kmedved commented Jul 6, 2021

Thanks for the very cool package. I was wondering if it is possible to pass a group_id somehow in order to do Groupkfold or Groupshufflesplit cross validation? I don't see anywhere obvious, but wanted to check in case I'm missing anything.

Thanks.

@aerdem4
Copy link
Owner

aerdem4 commented Jul 7, 2021

@kmedved cv parameter supports any custom iterable (list of (train_ind, val_ind)). I suggested a workaround on #28 Please let me know if this workaround works for you.

@aerdem4 aerdem4 closed this as completed Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants