Split file streams in the dataset into two parts randomly and approximately by the percentage specified.
random_split_dataset(dataset, percentage, seed = NULL)
The Dataset object.
The approximate percentage to split the Dataset by. This must be a number between 0.0 and 1.0.
An optional seed to use for the random generator.
A new Dataset object representing the two datasets after the split.