Prepares data for standard training and testing, data will be split into training and holdout set and output in a list which can be directly supplied to blkbox.
Usage
Partition(data, labels, size, seed)
Arguments
data
A data.frame of the data. Rows represent samples and columns features.
labels
The labels corresponding to the data, order must match with order of rows in data.
size
determines the size of the holdout data, must be a numeric value between 0 and 1 that. Default is 0.8.
seed
Determines the seed used to randomly sample the data by row.