Skip to contents

A split already recorded in the data itself.

Usage

setup_PredefinedPartition(
  column = NULL,
  training_value = "train",
  test_value = "test"
)

Arguments

column

Optional Character: Name of the column holding each case's partition label.

training_value

Character: Value in column identifying training cases.

test_value

Character: Value in column identifying held-out test cases.

Value

PredefinedPartitionConfig object.

Author

EDG

Examples

setup_PredefinedPartition(column = "split")
#> <PredefinedPartitionConfig>
#> 
#>           method: <chr> predefined
#>           column: <chr> split
#>   training_value: <chr> train
#>       test_value: <chr> test
#>