pub fn slow_linear(predictors: &[f64], outcomes: &[f64]) -> LinearCoefficients
Available on crate feature
regression
only.Expand description
Naive Theil-Sen implementation, which checks each line.
Time & space: O(n²)
§Panics
Panics if predictors.len() != outcomes.len()
.