View source: R/cmpt-select_model_glasso.R
select_kfold | R Documentation |
K-fold cross validation neghborhood lasso selection
select_kfold(
X,
Thetas,
lambdas = NULL,
n_lambda,
K_fold = 10,
criterion = "ploglik",
verbose = TRUE
)
criterion |
c("ploglik", "rmse") |
if criterion = "ploglik" use pseudo-log likelihood formula from Huge paper with matrix approach if "rmse" use mean squarred prediction error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.