shrinkage::QuadraticModelDatafit
Shrinkage for Rust · rust · 0.3.0
Source: src/datafit.rs
A differentiable loss with nonnegative diagonal working curvature.
Curvature constructs a local quadratic model; it need not be the observed Hessian. IRLS checks descent and stationarity against the original loss.
Methods
initial_intercept
Source: src/datafit.rs
Choose a finite cold-start intercept, leaving existing models at zero.
Errors
Reject invalid responses, link configuration, or initialization.
valid_predictor
Source: src/datafit.rs
Whether a predictor lies in the domain of the original loss.
working_curvature
Source: src/datafit.rs
Write finite, nonnegative curvature using the loss's normalization.
Errors
Reject invalid inputs or arithmetic. Output is unspecified after failure.
Implementation of QuadraticModelDatafit
Source: src/datafit/binomial.rs
Implementation of QuadraticModelDatafit
Source: src/datafit/gaussian.rs
Implementation of QuadraticModelDatafit
Source: src/datafit/linked.rs
Implementation of QuadraticModelDatafit
Source: src/datafit/linked.rs
