TrainTest.Rd
This function generates training and test sets for model training with
balanced classes using functions BalancedSample
and TrainSetList
.
The training and test datasets as well as vectors that identify the file of
origin of each row are saved as an RData object.
TrainTest( dt_ls, output_path = output_path, label = label, class_col = class_col, ... )
dt_ls | A |
---|---|
output_path | A character vector with full path names. |
label | A character vector with the prefix of the RData file to be outputted. |
class_col | A character vector with the name of the column that identify the classes. |