Learn R Programming

rtemis (version 1.4.3)

setup_RandomPartition: Set up a RandomPartitionConfig

Description

A uniformly random split. Row order and grouping play no part in the assignment.

Usage

setup_RandomPartition(train_p = 0.75, seed = NULL)

Value

RandomPartitionConfig object.

Arguments

train_p

Numeric (0, 1): Training set fraction.

seed

Optional Integer [0, Inf): Random seed.

Author

EDG

Examples

Run this code
setup_RandomPartition(train_p = 0.8, seed = 2026L)

Run the code above in your browser using DataLab