Segments for cross-validation
1 2 3 4 5 6 7 8 |
n |
: number of samples |
y |
: A vector of length n defining the blocks. |
K |
: number of fold |
rep |
: The number of replications of the repeated CV. Default to nrep = 1. |
For |
segmkf. The type K-fold CV. Possible values are "random" (default), "consecutive" and "interleaved". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.