powered by
Splits the manifest into training validation and test datasets for training
train_val_test( manifest, label_col = "class", file_col = "filepath", conf_col = "confidence", out_dir = NULL, val_size = 0.1, test_size = 0.1, seed = 42 )
train manifest, validate manifest, test manifest
list of files to split for training
column name containing class labels
column containing file paths
column containing prediction confidence
location to save split lists to
fraction of data dedicated to validation
fraction of data dedicated to testing
RNG seed for reproducibility
if (FALSE) { output <- train_val_test(manifest) }
Run the code above in your browser using DataLab