choose_rho {INDEED} | R Documentation |
Draw error curve using cross-validation.
choose_rho(data, n_fold, rho)
data |
a matrix. |
n_fold |
specify n to n-fold cross_validation. |
rho |
multiple regularization parameter values to be evalueated in terms of errors. |
a list of errors and their corresponding log(rho)