TimePartitionConfig
R/048_PartitionConfig.R
setup_TimePartition.Rd
A split by time order: the earliest-ordered cases train, the latest-ordered are held out.
setup_TimePartition(column = NULL, train_p = 0.75)
Optional Character: Name of the column to order cases by before splitting.
Numeric (0, 1): Fraction of the earliest-ordered cases assigned to training.
TimePartitionConfig object.
EDG
setup_TimePartition(column = "visit_date", train_p = 0.8)
#> <TimePartitionConfig> #> #> method: <chr> time #> column: <chr> visit_date #> train_p: <nmr> 0.80 #>