shrinkage::DifferentiableDatafit
Shrinkage for Rust · rust · 0.3.0
Source: src/datafit.rs
A differentiable loss on the complete linear predictor.
Proximal gradient uses this derivative with forward and transposed design products. Implementations must use the same normalization in both methods.
Methods
fits_intercept
Source: src/datafit.rs
Whether the solver should fit a free, unpenalized intercept.
gradient
Source: src/datafit.rs
Write the predictor gradient into reusable output storage.
Errors
Reject invalid response data, dimensions, predictor values, or arithmetic. Output is unspecified after an error.
n_obs
Source: src/datafit.rs
Number of training observations.
Implementation of DifferentiableDatafit
Source: src/datafit/binomial.rs
Implementation of DifferentiableDatafit
Source: src/datafit/gaussian.rs
Implementation of DifferentiableDatafit
Source: src/datafit/linked.rs
Implementation of DifferentiableDatafit
Source: src/datafit/linked.rs
