Description Usage Arguments Examples
Split dataset into train set and test set (for hold-out)
1 | dataSplit(dataset, test.ratio = 0.1)
|
dataset |
a data.frame or a matrix |
test.ratio |
a numelic. Ratio of test data, must be (0, 1). |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.