cv_partition | R Documentation |
Creating CV data partition
cv_partition(x, y, nfolds)
x |
x should be a matrix without rownames |
y |
y should be true labels |
nfolds |
number of folds |
Kevin Wang
x = iris[51:150, -5] y = factor(iris[51:150, 5]) cvp = cv_partition(x = x, y = y, nfolds = 5) cvp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.