Expand description
Multiple linear regression (ISL ch 3) — ordinary least squares with full
inference. Canonical implementation lives in
[crate::solvers::statistics::regression::multiple]; this module is a thin
learning-crate facade preserving LinearModel / fit names.
Structs§
- Linear
Model - A fitted OLS model with inferential output. When
fit_interceptis true,coefficients[0]is the intercept andcoefficients[1..]align with the predictor columns; the*_per_coefvectors are aligned the same way.
Functions§
- fit
- Fit OLS of
y(lengthn) on a row-majorn × ppredictor matrixx.