TCDIENET_Solver: T-CDIENET Solver (deprecated)

TCDIENET_SolverR Documentation

T-CDIENET 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 TIENET_Solver, the homotopy solver of the same problem.

Terminating coordinate-descent Informed Elastic Net: exact fixed-lambda1 IEN minimizers per dummy crossing with O(1) group-penalty hooks (group_penalty = "MEAN", the canonical group-sum penalty, or "CENTERING"). The solver used internally by TRexGVSSelector for solver = "TCDIENET". Not finally developed: its sweeps grow with lambda2 and on saturating designs, and a solve that does not converge within cd_max_sweeps raises an error. The homotopy solver TIENET_Solver has no such limit. Inherits the CD getters from TCDSolver_Base and all common methods from TSolver_Base.

Super classes

TSolver_Base -> TCDSolver_Base -> TCDIENET_Solver

Methods

Public methods

Inherited methods

TCDIENET_Solver$new()

Create a new TCDIENET_Solver.

Usage
TCDIENET_Solver$new(X, D, y, groups, 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 (a multiple of ncol(X) columns: one group-aligned layer per p).

y

Numeric response vector.

groups

Integer vector of 1-based group ids, one per predictor column of X (contiguous ids starting at 1).

options

Solver options from tsolver_options; this solver reads lambda2, group_penalty and the cd_* knobs.


TCDIENET_Solver$get_groups()

Get the group ids (1-based, one per predictor).

Usage
TCDIENET_Solver$get_groups()
Returns

Integer vector of group ids.


TCDIENET_Solver$get_num_groups()

Get the number of disjoint groups.

Usage
TCDIENET_Solver$get_num_groups()
Returns

Integer count of groups.


TCDIENET_Solver$clone()

The objects of this class are cloneable with this method.

Usage
TCDIENET_Solver$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

References

J. Machkour, M. Muma, and D. P. Palomar, "The Informed Elastic Net for Fast Grouped Variable Selection and FDR Control in Genomics Research," in Proc. IEEE 9th Int. Workshop Comput. Adv. Multi-Sensor Adapt. Process. (CAMSAP), 2023, pp. 466-470.

H. Zou and T. Hastie, "Regularization and Variable Selection via the Elastic Net," J. R. Stat. Soc. Ser. B Stat. Methodol., vol. 67, no. 2, pp. 301-320, 2005.

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.

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, TCDLASSO_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 <- 4
X <- matrix(rnorm(n * p), n, p)
D <- matrix(rnorm(n * p), n, p)
y <- X[, 1] * 2 + rnorm(n)
solver <- TCDIENET_Solver$new(X, D, y, groups = c(1, 1, 2, 2),
                              options = tsolver_options(lambda2 = 0.1))
solver$execute_step(T_stop = 3)
solver$get_beta()


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