Description Usage Arguments Value Examples
View source: R/split_data_class.R
The data matrix is divided into two subsets.A predefined proportion of the samples are randomly selected for a training set, and the remaining samples are used for the test set.
1 | split_data(p_train, ...)
|
p_train |
(numeric) The proportion of samples selected for the training set. |
... |
Additional slots and values passed to |
A split_data
object.
1 | M = split_data(p_train=0.75)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.