{"library":"pwlf","type":"library","category":null,"description":"pwlf is a Python library (v2.5.2) for fitting continuous piecewise linear functions to 1D data. It allows users to specify the number of line segments and uses global optimization (like differential evolution or L-BFGS-B) to find optimal breakpoint locations. The library also supports fitting with known breakpoints, constrained fits, and provides statistical properties like standard errors and R-squared values. It is actively maintained with regular releases.","language":"python","status":"active","version":"2.5.2","tags":["piecewise linear","regression","curve fitting","optimization","data analysis","mathematics"],"install":[{"cmd":"pip install pwlf","imports":["from pwlf import PiecewiseLinFit"]}],"homepage":"https://jekel.me/piecewise_linear_fit_py/","github":"https://github.com/cjekel/piecewise_linear_fit_py","docs":null,"changelog":null,"pypi":"https://pypi.org/project/pwlf/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":7.3,"avg_import_s":2.43,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/pwlf/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}