Description Usage Arguments Value Examples
partition_data
partition data randomly in train and test sets.
1 | partition_data(x, y, train_ind = NULL, train_perc = 0.7)
|
x |
Input / Independent variables |
y |
Dependent variables |
train_ind |
Index of traininig data, if NULL a random one is generated. |
train_perc |
Percentage of training data when partitioning. |
A list containing the train, test data and index of training data.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.