View source: R/trex_spca_selector.R
| trex_spca_control | R Documentation |
Build the control list of the T-Rex sparse PCA selector (T-Rex+SPCA),
TRexSPCASelector. The list holds the parameters below. Every other parameter
of the T-Rex+GVS run of each component (the clustering, the cross-validation grid, the
L-loop strategy, the scaling mode, the threads) runs at its default, see
trex_gvs_control() and trex_control().
trex_spca_control(
mode = "ActiveSet",
lambda2_ridge_loadings = 1e-06,
gvs_type = "EN",
lambda_2 = -1,
lambda2_method = "CV_1SE_CCD",
en_solver = "TENET_AUG",
tenet_aug_use_lars = FALSE,
K = 20L,
max_dummy_multiplier = 10L
)
mode |
Assembly of the sparse loading vectors. |
lambda2_ridge_loadings |
Ridge penalty of the loading assembly in
|
gvs_type |
Penalty of the T-Rex+GVS runs. Only |
lambda_2 |
Ridge part of the elastic net of the T-Rex+GVS runs. A negative value
(default: |
lambda2_method |
Rule that chooses |
en_solver |
Elastic net solver of the T-Rex+GVS runs. |
tenet_aug_use_lars |
Logical. For |
K |
Number of random experiments of each T-Rex+GVS run (default: 20). |
max_dummy_multiplier |
Cap of the dummy multiplier of each T-Rex+GVS run: the L-loop adds dummies up to this many times the number of variables (default: 10). |
A named list for passing to TRexSPCASelector$new().
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_control(),
trex_gvs_lambda2_power_rule(),
trex_normalize_design(),
trex_precision(),
trex_recall(),
trex_screen_control(),
trex_tikhonov_control(),
trex_tikhonov_lambda2_power_rule(),
trex_tpp(),
trex_tpp_dense()
trex_spca_control()
trex_spca_control(mode = "Thresholded", K = 10)
trex_spca_control(lambda_2 = 0.01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.