Comparison
piecewise-regression vs pwlf
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
piecewise (segmented) regression in python
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install piecewise-regressionfit piecewise linear functions to data
Maintained. Last release 7 weeks ago, commits in 5 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install pwlfIn short
- piecewise-regression is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- pwlf is the most used: 337.8K downloads a month, 3.6× more than piecewise-regression.
- pwlf also has the best Pythie’s Index (60).
Side by side
| Metric | piecewise-regression | pwlf |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 18 | 60 |