TCDSolver_Base: CD-family base class (deprecated)

TCDSolver_BaseR Documentation

CD-family base class (deprecated)

Description

Deprecated. The coordinate-descent family will be removed in TRexSelector 2.1.0, and this class goes with it.

Shared getters of the coordinate-descent solver family (TCDLASSO_Solver, TCDENET_Solver, TCDIENET_Solver, TCDTIKNET_Solver): the recorded lambda_1 path, the quadratic penalty weight, and the certified-localization diagnostics. Not intended for direct instantiation.

Super class

TSolver_Base -> TCDSolver_Base

Methods

Public methods

Inherited methods

TCDSolver_Base$get_lambda()

Get lambda_1 at every recorded step.

Usage
TCDSolver_Base$get_lambda()
Returns

Numeric vector, one per step.


TCDSolver_Base$get_lambda2()

Get the quadratic penalty weight lambda2 (0 for T-CDLASSO).

Usage
TCDSolver_Base$get_lambda2()
Returns

Scalar numeric lambda2.


TCDSolver_Base$is_certified_localization()

Is the certified crossing localization active?

Usage
TCDSolver_Base$is_certified_localization()
Returns

Logical.


TCDSolver_Base$is_certified_degraded()

Did certification become unavailable along the path (A0-w boundary), so the solver fell back to LEGACY localization?

Usage
TCDSolver_Base$is_certified_degraded()
Returns

Logical.


TCDSolver_Base$get_record_gaps()

Get the duality gap at every recorded step.

Usage
TCDSolver_Base$get_record_gaps()
Returns

Numeric vector, one per step.


TCDSolver_Base$get_record_kkt_violations()

Get the KKT violation at every recorded step.

Usage
TCDSolver_Base$get_record_kkt_violations()
Returns

Numeric vector, one per step.


TCDSolver_Base$get_kkt_violation()

KKT violation of the current state (a certificate of the coordinate-descent minimizer).

Usage
TCDSolver_Base$get_kkt_violation(lambda1 = -1)
Arguments
lambda1

The lambda_1 to certify at; negative (default) uses the solver's current one.

Returns

Numeric scalar.


TCDSolver_Base$clone()

The objects of this class are cloneable with this method.

Usage
TCDSolver_Base$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


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