piecewise_linear_fit_py
piecewise_linear_fit_py copied to clipboard
add option for fit functions to not include endpoints as breakpoints
Currently the fit functions assume that a breakpoint occurs at the smallest x_data point and the largest x_data point. This results in a simplified optimization problem.
However it may not result in the best continuous piecewise linear model.