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

Subgroup-specific cross-validation #55

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Lauren-EylerDang
Copy link

Hello,
I added a function folds_subgroup which allows for subgroup-specific cross-validation. In this case, the validation set is comprised entirely of the subgroup of interest, and the training set consists of the rest of the subgroup of interest and all other subgroups' data. I am using this function for a project where the goal is to train an optimal model for a subgroup while using data from other groups. This is my first pull request, so I apologize if there is anything I did not do correctly! I tried to follow the instructions and am happy to fix anything (eg formatting) as needed. Thank you!
-Lauren

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

Successfully merging this pull request may close these issues.

1 participant