powered by
TimePartitionConfig
A split by time order: the earliest-ordered cases train, the latest-ordered are held out.
setup_TimePartition(column = NULL, train_p = 0.75)
TimePartitionConfig object.
Optional Character: Name of the column to order cases by before splitting.
Numeric (0, 1): Fraction of the earliest-ordered cases assigned to training.
EDG
setup_TimePartition(column = "visit_date", train_p = 0.8)
Run the code above in your browser using DataLab