R/cv.R
multiclass_cv.Rd
Depricated function to compute optimal value of regularization parameter based on K-fold cross-validation
multiclass_cv(
fit,
Kfold = 5,
nweight = NULL,
weighting = TRUE,
wtype = "size",
type = "MSFE",
l1length = 100,
normalize = TRUE
)
fitted object returned from multiclass_reg()
K-fold cross-validation
vector of length K indicating weights for MSFE measure
MSFE or MAFE
length sparsity grid l1 penalty
flag: asymmetric forecast error measure or not
A list with the following components
Selected value of the regularization parameter via BIC
Estimated coefficients selected via BIC