piecewise-regression icon indicating copy to clipboard operation
piecewise-regression copied to clipboard

piecewise-regression (aka segmented regression) in python. For fitting straight line models to data with one or more breakpoints where the gradient changes.

Results 13 piecewise-regression issues
Sort by recently updated
recently updated
newest added

https://github.com/chasmani/piecewise-regression/blob/e3c57396333f6c9d0f9de4daf09b7dc2f8008e8e/piecewise_regression/main.py#L914

Hello, It's good to have such a useful package for segmented regression, but I don't see any function to get the predictions directly. Can you just create another function that...

enhancement

Thank you for providing a useful library. I think that compatibility with scikit-learn is high as one way to improve the usability of machine learning models. In particular, I think...

Hey there! First of all, amazing tool, thanks so much for taking the time to publish it out to the public. Great work! I was thinking of possibly attempting to...

See the issue #17. This commit changes all abbreviations to its actual name and fixes tests to be aware of the change. It also adds tst.py to the .gitignore so...

Hello, I'd like to express my gratitude for your efforts in creating this valuable tool. I have a few suggestions that I believe could enhance the user experience and improve...

Hello @chasmani I came across this repo while working on some time series problems. I was looking for a piecewise linear time series forecaster but there seems to be nothing...

Hi, I am getting a NaN after using the Davies Test, while the breakpoint looks fine. What is the best way to resolve this? Can I share my data and...

Add missing spaces Before the fix, the text looks like this: ``` These alphas(gradients of segments) are estimatedfrom betas(change in gradient) ```