Description Usage Arguments Details
View source: R/fit-implementation.R
Low level bolasso implementation
1 2 | bolasso_impl(predictors, outcome, n_bootstraps = 100,
threshold_selection = 0.5, ...)
|
predictors |
A numeric tibble of predictors. |
outcome |
A tibble with outcome |
First, we use rsample to generate bootstrap samples. Then, bolasso for variable selection. And finally, ridge regression on the selected variables. The selected variavbles are the ones appearing more than threshold_selection times and that have consistent signs (that is, when selected, the sign of the coefficient is always the same).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.