This function splits the dataset into K-folds with a test set and a train set, returning the split datasets as a list.
1 | Kfold(dat, k)
|
dat |
The dataset to split |
k |
The number of folds Kfold() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.