Releases: cjekel/piecewise_linear_fit_py
Releases · cjekel/piecewise_linear_fit_py
v2.3.0
[2.3.0] - 2024-10-26
Changed
- You can now force fits of one line segment to go through a particular point
mypwlf.fit(1, x_c, y_c)
. Thanks to fredrikhellman. - Update docs to sphinx 8 (from 4)
- Update ci version to
python==3.9
,python==3.10
,python==3.11
, andpython==3.12
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!