shrinkage::GapSafePenalty
Shrinkage for Rust · rust · 0.3.0
Source: src/screening.rs
Complete-penalty dual feasibility and exact fixed-zero restrictions.
A fixed-zero constraint differs from excluding a coordinate from a penalty. Implementations must retain every interaction with removed zeros.
Methods
dual_feasible
Source: src/screening.rs
Check complete feasibility for all correlations within the error bounds.
Errors
Reject incompatible dimensions or invalid penalty settings.
dual_scaling
Source: src/screening.rs
Return an analytic feasible divisor, or request the generic search.
Errors
Reject incompatible dimensions or invalid penalty settings.
has_sparsity
Source: src/screening.rs
Whether this penalty has a positive sparsity component.
prox_zeroed
Source: src/screening.rs
Evaluate the exact prox with true coordinates constrained to zero.
Errors
Reject invalid parameters, dimensions, steps, or arithmetic.
screen_zeros
Source: src/screening.rs
Add proven zeros using bounds on the optimal correlations.
errors[j] includes the safe radius times the column norm and rounding. Existing true entries must remain fixed.
Errors
Reject incompatible dimensions or invalid penalty settings.
Implementation of GapSafePenalty
Source: src/screening/penalty.rs
Implementation of GapSafePenalty
Source: src/screening/penalty.rs
Implementation of GapSafePenalty
Source: src/screening/penalty.rs
