Description Usage Arguments Value
This functions output is later used to draw an error curve using cross-validation. This function is used in select_rho_partial.R to help visualize the error curve for both group 1 and 2 in the data preprocessing step
1 | choose_rho(data, n_fold, rho)
|
data |
This is a matrix. |
n_fold |
This parameter specifies the n to n-fold cross_validation. |
rho |
This is the multiple regularization parameter values used to evaluate 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.