Python Dynamic Programming Algorithm For Segmented Least Squares

Python Dynamic Programming Algorithm For Segmented Least Squares