TCDLASSO_Solver: T-CDLASSO Solver (deprecated)

TCDLASSO_SolverR Documentation

T-CDLASSO Solver (deprecated)

Description

Deprecated. The coordinate-descent family will be removed in TRexSelector 2.1.0, and constructing this class raises a deprecation warning. Use TLASSO_Solver, the homotopy solver of the same problem.

Terminating coordinate-descent LASSO: exact penalized-lasso minimizers at every dummy crossing, localized with certificates (duality gap and coordinate statuses; cd_certified_localization = FALSE in the options selects the LEGACY probe bisection). The base of the CD family (TCDENET_Solver, TCDIENET_Solver, TCDTIKNET_Solver inherit its getters). Inherits all common methods from TSolver_Base.

Super classes

TSolver_Base -> TCDSolver_Base -> TCDLASSO_Solver

Methods

Public methods

Inherited methods

TCDLASSO_Solver$new()

Create a new TCDLASSO_Solver.

Usage
TCDLASSO_Solver$new(X, D, y, options = tsolver_options())
Arguments
X

Numeric matrix of predictors in memory, or mmap_matrix (the handle of a memory-mapped file).

D

Numeric matrix of dummies in memory, or mmap_matrix (the handle of a memory-mapped file).

y

Numeric response vector.

options

Solver options from tsolver_options; this solver reads the cd_* knobs.


TCDLASSO_Solver$clone()

The objects of this class are cloneable with this method.

Usage
TCDLASSO_Solver$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

References

R. Tibshirani, "Regression Shrinkage and Selection via the Lasso," J. R. Stat. Soc. Ser. B Stat. Methodol., vol. 58, no. 1, pp. 267-288, 1996.

J. Friedman, T. Hastie, H. Höfling, and R. Tibshirani, "Pathwise Coordinate Optimization," Ann. Appl. Stat., vol. 1, no. 2, pp. 302-332, 2007, doi: 10.1214/07-AOAS131.

J. Friedman, T. Hastie, and R. Tibshirani, "Regularization Paths for Generalized Linear Models via Coordinate Descent," J. Stat. Softw., vol. 33, no. 1, pp. 1-22, 2010, doi: 10.18637/jss.v033.i01.

W. J. Fu, "Penalized Regression: The Bridge Versus the Lasso," J. Comput. Graph. Statist., vol. 7, pp. 397-416, 1998.

J. Machkour, M. Muma, and D. P. Palomar, "The Terminating-Random Experiments Selector: Fast High-Dimensional Variable Selection with False Discovery Rate Control," Signal Process., vol. 231, Art. no. 109894, 2025, doi: 10.1016/j.sigpro.2025.109894.

See Also

Other T-solvers: TACGP_Solver, TAFS_Solver, TCDENET_Solver, TCDIENET_Solver, TCDTIKNET_Solver, TENETAug_Solver, TENET_Solver, TGP_Solver, TIENETAug_Solver, TIENET_Solver, TIKNET_Solver, TLARS_Solver, TLASSO_Solver, TMP_Solver, TNCGMP_Solver, TOMP_Solver, TOOLS_Solver, TSTAGEWISE_Solver, TSTEPWISE_Solver, tsolver_options()

Examples

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 <- TCDLASSO_Solver$new(X, D, y)
solver$execute_step(T_stop = 3)
solver$get_beta()
solver$is_certified_localization()


TRexSelector documentation built on Nov. 20, 2026, 5:09 p.m.