std_dev::regression::theil_sen

Struct LinearTheilSen

source
pub struct LinearTheilSen;
Available on crate feature regression only.
Expand description

Linear estimation using the Theil-Sen estimatior. This is robust against outliers. O(n²)

Trait Implementations§

source§

impl LinearEstimator for LinearTheilSen

source§

fn model_linear( &self, predictors: &[f64], outcomes: &[f64], ) -> LinearCoefficients

Model the