Description Usage Arguments Value
View source: R/helper_function.R
Draw error curve using cross-validation.
1 | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.