Gaussian
Gaussian fits a single real-valued response using averaged squared error:
Supply one finite response per observation. The constructor borrows the response slice. By default, the solver fits a free, unpenalized intercept; use .fit_intercept(false) to disable it. Predictions are fitted response means.
Evaluate the loss
use ;
For model fitting, see linear regression or the Lasso convenience API. All four built-in solvers support Gaussian problems with their respective compatible penalties. Because the loss averages over observations, a penalty strength is not multiplied by the sample size. See the shared conventions.
The default identity link makes predictors equal response means. Use .with_link(...) to select a different Rust link for IRLS fitting and paths; convert predictions with .inverse_link(eta).
API: shrinkage::Gaussian.
