Description Usage Arguments Details Value Author(s)
Given a data frame splitted in k subsets, this function binds subsets for training data and leaves one subset out for test k times, leaving out a different subset each fold.
1 | leaveOneOut(kf.data)
|
kf.data |
Object returned by function kfold or list of data frames |
Details.
List of length k. Each slot contains another list of two components:
train |
data frame of training data |
test |
data frame for test |
M. Iturbide
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.