View source: R/41_refined_anchored_lasso.R
collect_active_features_proj | R Documentation |
Identifies consistently non-zero features across cross-validation folds using a voting scheme and returns active groups if a grouping vector is provided.
collect_active_features_proj(
test_result,
voting_method = c("majority_voting"),
group = NULL,
group_threshold = 1
)
test_result |
A result object from |
voting_method |
Character. Method to determine active features. Only |
group |
Optional grouping vector with feature names. Must match the feature dimension of |
group_threshold |
Integer. Minimum number of active features required to declare a group active. Default is 1. |
If group
is provided, returns a list with:
Character vector of consistently non-zero features.
Character vector of active groups.
If group
is NULL, returns a character vector of active features only.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.