| TCDTIKNET_Solver | R Documentation |
Deprecated. The coordinate-descent family will be removed in
TRexSelector 2.1.0, and constructing this class raises a deprecation
warning. Use TIKNET_Solver, the homotopy solver of the
same problem.
Terminating coordinate-descent Tikhonov Net: exact fixed-lambda1
minimizers per dummy crossing under the general quadratic penalty
lambda2 * t(beta) K beta with a sparse PSD K. Dummy coupling
per fold_dummies in the options (FALSE: independent
kappa_dummy ridge; TRUE: FOLDED layered convention).
TRexTikhonovSelector no longer runs it. Not finally developed: under
the FOLDED coupling its sweeps grow with lambda2, and on saturating designs as
well, and a solve that does not converge within cd_max_sweeps
raises an error. The homotopy solver TIKNET_Solver has no
such limit. Inherits the CD getters from
TCDSolver_Base and all common methods from
TSolver_Base.
TSolver_Base -> TCDSolver_Base -> TCDTIKNET_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()TCDSolver_Base$get_kkt_violation()TCDSolver_Base$get_lambda()TCDSolver_Base$get_lambda2()TCDSolver_Base$get_record_gaps()TCDSolver_Base$get_record_kkt_violations()TCDSolver_Base$is_certified_degraded()TCDSolver_Base$is_certified_localization()TCDTIKNET_Solver$new()Create a new TCDTIKNET_Solver.
TCDTIKNET_Solver$new(X, D, y, tikhonov_K, 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 (a multiple of ncol(X)
columns when fold_dummies = TRUE).
yNumeric response vector.
tikhonov_Kp x p PSD Tikhonov matrix: a
Matrix::dgCMatrix or a dense matrix.
optionsSolver options from tsolver_options; this
solver reads lambda2, kappa_dummy, fold_dummies
and the cd_* knobs.
TCDTIKNET_Solver$is_folded_dummy_coupling()Is the FOLDED dummy coupling active?
TCDTIKNET_Solver$is_folded_dummy_coupling()
Logical.
TCDTIKNET_Solver$clone()The objects of this class are cloneable with this method.
TCDTIKNET_Solver$clone(deep = FALSE)
deepWhether to make a deep clone.
A. N. Tikhonov, "Solution of Incorrectly Formulated Problems and the Regularization Method," Soviet Math. Dokl., vol. 4, pp. 1035-1038, 1963 (English translation of Dokl. Akad. Nauk SSSR 151 (1963), no. 3, 501-504).
Y. Park, L. Reichel, G. Rodriguez, and X. Yu, "Parameter Determination for Tikhonov Regularization Problems in General Form," J. Comput. Appl. Math., vol. 343, pp. 12-25, 2018, doi: 10.1016/j.cam.2018.04.049.
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.
Other T-solvers:
TACGP_Solver,
TAFS_Solver,
TCDENET_Solver,
TCDIENET_Solver,
TCDLASSO_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()
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 <- TCDTIKNET_Solver$new(X, D, y, tikhonov_K = diag(p),
options = tsolver_options(lambda2 = 0.1))
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.