Cross validation
CVMSE(X = X, Y = Y, K = K, intercept = TRUE, methode = 1, groupe = NULL)
X | covariates matrix (double) |
---|---|
Y | response variable |
K | number of classes |
intercept | (boolean) with or without an intercept |
methode | the methode used by OLS. |
groupe | a vector to define the groups used for cross-validation (to obtain a reproductible result) |