shrinkage::StoppingCriterion
Shrinkage for Rust · rust · 0.3.0
Source: src/solver.rs
A convergence check with tolerances in its own units.
Variants
DualityGap
Source: src/solver.rs
DualityGap Stop when the absolute Gaussian lasso duality gap is at most absolute + relative * reference_loss.
absolute
Source: src/solver.rs
absolute: f64Absolute gap tolerance.
relative
Source: src/solver.rs
relative: f64Gap tolerance relative to the fixed zero-coefficient loss.
KktViolation
Source: src/solver.rs
KktViolation Stop when the maximum absolute KKT violation is at most absolute.
absolute
Source: src/solver.rs
absolute: f64Absolute KKT tolerance.
ProximalGradientMapping
Source: src/solver.rs
ProximalGradientMapping Stop when the infinity norm of the proximal-gradient mapping, including the unpenalized intercept derivative, is at most absolute.
absolute
Source: src/solver.rs
absolute: f64Absolute stationarity tolerance on the optimization scale.
Inherent implementation
Source: src/solver.rs
duality_gap
Source: src/solver.rs
pub const Select a relative duality-gap tolerance.
kkt_violation
Source: src/solver.rs
pub const Select an absolute KKT tolerance.
proximal_gradient_mapping
Source: src/solver.rs
pub const Select an absolute proximal-gradient mapping tolerance.
Implementation of Clone
Source: src/solver.rs
clone
Source: src/solver.rs
Implementation of Copy
Source: src/solver.rs
Implementation of Debug
Source: src/solver.rs
fmt
Source: src/solver.rs
Implementation of PartialEq
Source: src/solver.rs
eq
Source: src/solver.rs
Implementation of StructuralPartialEq
Source: src/solver.rs
Implementation of Freeze
Implementation of RefUnwindSafe
Implementation of Send
Implementation of Sync
Implementation of Unpin
Implementation of UnsafeUnpin
Implementation of UnwindSafe
Implementation of Any
Implementation of Boilerplate
Implementation of Borrow
Implementation of BorrowMut
Implementation of ByRef
Implementation of CastableFrom
Implementation of CastableFrom
Implementation of CloneToUninit
Implementation of From
Implementation of Imply
Implementation of Into
Implementation of IntoEither
Implementation of Pointable
Implementation of Read
Implementation of Same
Implementation of Scalar
Implementation of SupersetOf
Implementation of ToOwned
Implementation of TryFrom
Implementation of TryInto
