View source: R/control_parameters.R
| trex_gvs_control | R Documentation |
Build a control list for the grouped variable selection of
TRexGVSSelector. The solver follows gvs_type. For
"EN" en_solver chooses it: TENET (default), TENET_AUG or the
deprecated TCDENET. For "IEN" the solver of
trex_control names it, TIENET (native pathwise),
TIENET_AUG or the deprecated TCDIENET, so the IEN track needs a base
control with one of them. The selector refuses a base control whose
solver does not fit the track. TCDIENET is not finally developed: its
sweeps grow with lambda_2 and on saturating designs, and a solve
that does not converge within cd_max_sweeps raises an error.
TCDENET and TCDIENET are deprecated and will be removed with the
coordinate-descent family in TRexSelector 2.1.0: the selector raises a
deprecation warning for them. Use TENET and TIENET.
trex_gvs_control(
gvs_type = "EN",
corr_max = 0.5,
hc_linkage = "single",
lambda_2 = -1,
lambda2_method = NULL,
en_solver = "TENET",
tenet_aug_use_lars = FALSE,
groups = NULL,
cv_n_folds = 10,
cv_n_lambda = 1000,
cv_n_lambda1 = 40,
cv_n_lambda2 = 100,
cv_dfmax_ratio = 0.8,
cv_seed = -1,
group_labels = NULL
)
gvs_type |
Penalty of the grouped selection: "EN" (elastic net) or "IEN" (informed elastic net) (default: "EN"). |
corr_max |
Correlation threshold of the automatic clustering (default: 0.5). The
dendrogram is cut at the height |
hc_linkage |
Hierarchical clustering linkage: "single", "complete", "average",
"wpgma" (default: "single"). Used when no |
lambda_2 |
L2 penalty weight for group structure.
A negative value (default |
lambda2_method |
Auto-determination strategy for |
en_solver |
Elastic Net solver variant for |
tenet_aug_use_lars |
Logical. For the augmented solvers, |
groups |
Integer vector of manually specified group assignments, one entry per variable, numbered 1 to M without gaps (default: NULL). |
cv_n_folds |
Number of folds for the k-fold cross-validation used by the
CV |
cv_n_lambda |
Number of points on the |
cv_n_lambda1 |
IEN-geometry coordinate-descent tuners
( |
cv_n_lambda2 |
IEN-geometry coordinate-descent tuners only: points
on the lambda_2 grid (default: 100). Ignored by the other rules and
when |
cv_dfmax_ratio |
IEN-geometry coordinate-descent tuners only: support
cap as a fraction of the smallest fold's training size; each lambda_1
path stops once more than |
cv_seed |
Seed for the deterministic fold-permutation RNG used by the CV
|
group_labels |
Optional character vector with a name per group of |
A named list for use in TRexGVSSelector.
Other T-Rex selectors and controls:
Gauss_data,
TRexBiobankScreeningSelector,
TRexDASelector,
TRexGVSSelector,
TRexSPCASelector,
TRexScreeningSelector,
TRexSelector,
TRexTikhonovSelector,
trex_biobank_control(),
trex_build_group_centering_k(),
trex_control(),
trex_da_control(),
trex_default_lambda2_grid(),
trex_dummy_distribution(),
trex_fdp(),
trex_fdp_dense(),
trex_gamma_to_k(),
trex_get_num_threads(),
trex_gvs_lambda2_power_rule(),
trex_normalize_design(),
trex_precision(),
trex_recall(),
trex_screen_control(),
trex_spca_control(),
trex_tikhonov_control(),
trex_tikhonov_lambda2_power_rule(),
trex_tpp(),
trex_tpp_dense()
trex_gvs_control()
trex_gvs_control(gvs_type = "IEN", corr_max = 0.3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.