pub fn slow_polynomial(
predictors: &[f64],
outcomes: &[f64],
degree: usize,
) -> PolynomialCoefficients
Available on crate feature
regression
only.Expand description
Naive Theil-Sen implementation, which checks each polynomial.
Time & space: O(n^m) where m is degree + 1
.
ยงPanics
Panics if predictors.len() != outcomes.len()
.