Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to force the curve to pass through the origin (A constrain to fit the curve with y intercept = 0) #8

Open
Fasil-OK opened this issue Jan 11, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Fasil-OK
Copy link

Hai,
Thank you for scikit learn compatible constrained and robust polynomial regression, it is very helpful.
Addition to monotonicity constrain, I want to add a constrain to force my curve to pass through the origin (y intercept = 0). can you help me to do that?
Thank you

@dschmitz89
Copy link
Owner

This should be possible by eliminating the offset column of the PolynomialFeatures in sklearn terms. Currently, the code is a bit messy but let me iterate a bit. Would you be interested in a PR?

@dschmitz89 dschmitz89 added the enhancement New feature or request label Feb 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants