Description Usage Arguments Value
Split dataset into training and testing (50/50). # Split dataset into training and testing (50/50).
1 | split_dataset(dataset, classname = "class")
|
dataset |
The dataset |
classname |
the name of the class in the dataset. Default is |
The dataset structure with two new elements (data_train
and data_test
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.