pub struct OlsEstimator;
Available on crate features
regression
and ols
only.Expand description
Linear: O(n)
Polynomial: O(n*degree)
, which when using a set degree
becomes O(n)
Trait Implementations§
source§impl LinearEstimator for OlsEstimator
impl LinearEstimator for OlsEstimator
source§fn model_linear(
&self,
predictors: &[f64],
outcomes: &[f64],
) -> LinearCoefficients
fn model_linear( &self, predictors: &[f64], outcomes: &[f64], ) -> LinearCoefficients
Model th