Description Usage Arguments Value
Split data.
1 2 | ## S3 method for class 'data'
split(x, train = 0.7, val = 0, test = 0.3)
|
x |
Matrix or vector to split. |
train |
Proportion of rows to label as train. |
val |
Proportion of rows to label as validation. |
test |
Proportion of rows to label as test. |
List of split indicies.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.