shrinkage::ProximalPenalty
Shrinkage for Rust · rust · 0.3.0
Source: src/penalty.rs
A convex penalty with an exact proximal map for the complete term.
Implementations minimize ||z - input||² / (2 * step) + self.value(z). This contract applies to the entire penalty, including its strengths. A sum of penalties does not acquire this capability from its summands. A value-only penalty cannot be fitted by proximal gradient:
use ;
use ;
Methods
gap_safe
Source: src/penalty.rs
Optional dual feasibility, safe zero screening, and exact zero restriction.
Implementations without this capability retain ordinary proximal fitting.
prox
Source: src/penalty.rs
Write the proximal minimizer into reusable output storage.
Errors
Reject invalid parameters, nonpositive or nonfinite steps, mismatched lengths, nonfinite input, or nonfinite arithmetic. Output is unspecified after an error.
Implementation of ProximalPenalty
Source: src/penalty.rs
Implementation of ProximalPenalty
Source: src/penalty.rs
Implementation of ProximalPenalty
Source: src/penalty.rs
Implementation of ProximalPenalty
Source: src/penalty/chain_fused_lasso.rs
Implementation of ProximalPenalty
Source: src/penalty/clustered_lasso.rs
Implementation of ProximalPenalty
Source: src/penalty/group_lasso.rs
Implementation of ProximalPenalty
Source: src/penalty/slope.rs
Implementation of ProximalPenalty
Source: src/path/penalty.rs
Implementation of ProximalPenalty
Source: src/penalty/axis.rs
Implementation of ProximalPenalty
Source: src/penalty/scaled.rs
Implementation of ProximalPenalty
Source: src/penalty/masked.rs
