Learn R Programming

rtemis (version 1.4.3)

setup_PredefinedPartition: Set up a PredefinedPartitionConfig

Description

A split already recorded in the data itself.

Usage

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

Value

PredefinedPartitionConfig object.

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.

Author

EDG

Examples

Run this code
setup_PredefinedPartition(column = "split")

Run the code above in your browser using DataLab