| .compute_loocv | R Documentation |
Computes the exact leave-one-out tuning criterion for the same transformed linearized problem used elsewhere in the tuning machinery.
.compute_loocv(par, log_penalty_vec, env, ...)
par |
Numeric vector; log-scale penalty parameters. First two elements are log(wiggle_penalty) and log(flat_ridge_penalty). Remaining elements (if any) are log-scale predictor/partition penalties. |
log_penalty_vec |
Numeric vector; log-scale predictor/partition penalties (passed separately for compatibility with the grid search). |
env |
List; pre-computed objects and tuning configuration. Contains:
|
... |
Additional arguments passed to fitting functions. |
List containing the fitted objects plus criterion_value,
LOO_u, h_diag, and C_list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.