Skip to content

Releases: cjekel/piecewise_linear_fit_py

v2.2.1

07 May 21:58
Compare
Choose a tag to compare

You can now perform fit and fitfast for one line segment! Both routines do the same linear regression in this case.

v2.2.0

01 May 19:26
Compare
Choose a tag to compare

You can now manually specify a random seed on init. This will give you reproducible results with the fit and fitfast methods which are stochastic.

pwlf.PiecewiseLinFit(x, y, seed=123)

v2.1.0

31 Mar 19:09
Compare
Choose a tag to compare

[2.1.0] - 2022-03-31

Changed

  • All instances of linalg.inv now use linalg.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 numpy RuntimeWarning if two breakpoints were the same, or if a breakpoint was on the boundary. Now calc_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!

v2.0.5

04 Dec 19:21
Compare
Choose a tag to compare

conda force installs are now officially mentioned on readme and in documentation

v2.0.4

28 Aug 03:57
Compare
Choose a tag to compare

This is version 2.0.4 of pwlf. It will be the last version to support Python<3.6.