-
Notifications
You must be signed in to change notification settings - Fork 89
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
explicit split settings #487
Comments
Here is code that seems to work for me: createExplicitSplitSetting <- function( splitSettings <- list(testRowIds = testRowIds, attr(splitSettings, "fun") <- "explicitSplitter" explicitSplitter <- function( split <- data.frame( return(split) |
Does the proposed code also allow for controlling the training folds ? Like if you need to ensure exactly the same split not only into train/test but as well each fold in train. |
I added a suggested feature for this in #504 |
Add existing splitSettings and tests. Solves #487
At the moment we can split the data into train/test and folds by patientId, rowId or time.
It would be nice to have an explicit splitter where you can provide the rowIds for the test/train/folds. That way you can ensure the same split even with different features etc.
The text was updated successfully, but these errors were encountered: