Description Usage Arguments Details Value Examples
View source: R/cross.validation.R
Cross-validation
1 |
x |
input data where columns are variables and rows are observations (all numeric) |
y |
decision variable as a boolean vector of length equal to number of observations |
method |
cross-validation method |
params |
A
|
creates a list with division of observational indices of the dataframe of observational indices into training and test subsamples of a given number of iterations Implements two methods : cross-validation k-fold and random sampling
A list
with lindices divided into train and test subsamples niter repetitions.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.