pwlf
fit piecewise linear data for a specified number of line segments
fit piecewise linear data for a specified number of line segments
To install this package, run one of the following:
A library for fitting continuous piecewise linear functions to data. Just specify the number of line segments you desire and provide the data.
Summary
fit piecewise linear data for a specified number of line segments
Last Updated
Mar 3, 2026 at 20:18
License
MIT
Total Downloads
350.6K
Version Downloads
1.9K
Supported Platforms
Unsupported Platforms
GitHub Repository
https://github.com/cjekel/piecewise_linear_fit_pyDocumentation
https://jekel.me/piecewise_linear_fit_py/