pub fn greedy_spline(data: &[(f64, f64)], err: f64) -> Vec<(f64, f64)>
Expand description

Learns a spline regression over data with an error bound of err. Each spline point is returned in (x, y) coordinates.