Comparison
piecewise-regression vs pwlf vs ropwr
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 4 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install pwlfRoPWR: Robust Piecewise Regression
Low maintenance activity. Last release 10 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install ropwrIn 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: 321.2K downloads a month.
- pwlf also has the best Pythie’s Index (58).
Side by side
| Metric | piecewise-regression | pwlf | ropwr |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 18 | 58 |