Description Usage Arguments Value
View source: R/linear_regression_mcr.r
Minimizes ||Y_i - X β ||^2 +alpha
β'(reg_matrix
)β across β. Alternatively, if reg_threshold
is finite, this function minimizes ||Y_i - X β ||^2 across β satisfying β'(reg_matrix
)β≤reg_threshold
.
1 2 | fit_lm_regularized(suff_stats, alpha = NA, reg_threshold = Inf,
tol = NA)
|
suff_stats |
output from |
alpha |
regularization parameter |
reg_threshold |
regularization threshold |
tol |
passed to |
The argmin over values of β.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.