choose_rho {INDEED} | R Documentation |
This function draws error curve using cross-validation.
choose_rho(data, n_fold, rho)
data |
This is a matrix. |
n_fold |
This parameter specifies the n number in n-fold cross_validation. |
rho |
This is the regularization parameter values to be evalueated in terms their errors. |
A list of errors and their corresponding log(rho).