Module plr::spline

source · []

Structs

A greedy spline regressor using the greedy spline corridor algorithm. Each call to process will return a new spline point if one is needed to maintain the error bound, or None if the passed point works with the current spline.

Functions

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