| TNCGMP_Solver | R Documentation |
Terminating Norm-Corrected Gradient Matching Pursuit (T-NCGMP) solver.
Two variants are available: "line_search" (standard, 1-D projection)
and "fully_corrective" (OMP-style least squares over the active set).
Inherits all common methods from TSolver_Base.
TSolver_Base -> TNCGMP_Solver
TSolver_Base$clear_warnings()TSolver_Base$execute_step()TSolver_Base$get_actions()TSolver_Base$get_active_dummy_indices()TSolver_Base$get_active_predictor_indices()TSolver_Base$get_actives()TSolver_Base$get_beta()TSolver_Base$get_beta_path()TSolver_Base$get_cp()TSolver_Base$get_cp_with_sigma()TSolver_Base$get_dof()TSolver_Base$get_dropped_indices()TSolver_Base$get_dummy_start_index()TSolver_Base$get_inactives()TSolver_Base$get_intercept()TSolver_Base$get_memory_bytes()TSolver_Base$get_num_actives()TSolver_Base$get_num_steps()TSolver_Base$get_num_threads()TSolver_Base$get_r2()TSolver_Base$get_residuals()TSolver_Base$get_rss()TSolver_Base$get_warnings()TSolver_Base$is_connected()TSolver_Base$load()TSolver_Base$restore()TSolver_Base$save()TSolver_Base$set_exchangeable_tie()TSolver_Base$set_num_threads()TSolver_Base$set_tie_seed()TSolver_Base$set_tolerance()TSolver_Base$solver_type_to_string()TNCGMP_Solver$new()Create a new TNCGMP_Solver.
TNCGMP_Solver$new(X, D, y, options = tsolver_options())
XNumeric matrix of predictors in memory, or mmap_matrix
(the handle of a memory-mapped file).
DNumeric matrix of dummies in memory, or mmap_matrix
(the handle of a memory-mapped file).
yNumeric response vector.
optionsSolver options from tsolver_options; this
solver reads ncgmp_variant: "line_search" (default)
or "fully_corrective".
TNCGMP_Solver$clone()The objects of this class are cloneable with this method.
TNCGMP_Solver$clone(deep = FALSE)
deepWhether to make a deep clone.
F. Locatello, R. Khanna, M. Tschannen, and M. Jaggi, "A Unified Optimization View on Generalized Matching Pursuit and Frank-Wolfe," in Proc. 20th Int. Conf. Artif. Intell. Statist. (AISTATS), Proc. Mach. Learn. Res. vol. 54, 2017, pp. 860-868.
F. Scheidt and M. Muma, "Terminating Greedy Pursuits for High-Dimensional False Discovery Rate Control," in Proc. Eur. Signal Process. Conf. (EUSIPCO), 2026, pp. 2511-2515.
Other T-solvers:
TACGP_Solver,
TAFS_Solver,
TCDENET_Solver,
TCDIENET_Solver,
TCDLASSO_Solver,
TCDTIKNET_Solver,
TENETAug_Solver,
TENET_Solver,
TGP_Solver,
TIENETAug_Solver,
TIENET_Solver,
TIKNET_Solver,
TLARS_Solver,
TLASSO_Solver,
TMP_Solver,
TOMP_Solver,
TOOLS_Solver,
TSTAGEWISE_Solver,
TSTEPWISE_Solver,
tsolver_options()
set.seed(1)
n <- 20; p <- 5
X <- matrix(rnorm(n * p), n, p)
D <- matrix(rnorm(n * p), n, p)
y <- X[, 1] * 2 + rnorm(n)
solver <- TNCGMP_Solver$new(X, D, y,
options = tsolver_options(ncgmp_variant = "line_search"))
solver$execute_step(T_stop = 3)
solver$get_beta()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.