Releases: cjekel/piecewise_linear_fit_py
Releases · cjekel/piecewise_linear_fit_py
v2.2.1
v2.2.0
v2.1.0
[2.1.0] - 2022-03-31
Changed
- All instances of
linalg.inv
now uselinalg.pinv
. All APIs are still the same, but this is potentially a backwards breaking change as previous results may be different from new results. This will mainly affect standard error calculations. - Previously
calc_slopes
was called after every least squares fit in optimization routines trying to find breakpoints. This would occasionally raise a numpyRuntimeWarning
if two breakpoints were the same, or if a breakpoint was on the boundary. Nowcalc_slopes
is not called during experimental breakpoint calculation, which should no longer raise this warning for most users. Slopes will still be calculated once optimal breakpoints are found!