shrinkage.StoppingCriterion
Shrinkage for Python · python · 0.2.0
A convergence check with tolerances in its own units.
Gaussian lasso supports duality_gap and kkt_violation. HybridCoordinateDescent and proximal gradient support only proximal_gradient_mapping. KKT and mapping tolerances must be finite and strictly positive and use no relative component. Gap tolerances must be finite and nonnegative, with at least one positive component. Compatibility is checked when fitting.
kind
Source: packages/python/src/shrinkage/_common.py
: absolute
Source: packages/python/src/shrinkage/_common.py
: relative
Source: packages/python/src/shrinkage/_common.py
: = 0.0duality_gap
Source: packages/python/src/shrinkage/_common.py
-> Require gap <= absolute + relative * fixed null-model loss.
kkt_violation
Source: packages/python/src/shrinkage/_common.py
-> Require the largest absolute KKT violation <= absolute.
proximal_gradient_mapping
Source: packages/python/src/shrinkage/_common.py
-> Bound the full mapping and the free-intercept derivative.
