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

Question about usage : how to force the curve to go through (0,0) #1

Closed
ChinaFred opened this issue Jan 20, 2021 · 2 comments · Fixed by #7
Closed

Question about usage : how to force the curve to go through (0,0) #1

ChinaFred opened this issue Jan 20, 2021 · 2 comments · Fixed by #7

Comments

@ChinaFred
Copy link

Hello
We have to perform a polynomial regression of order 2 : Ax² + Bx + C
we want to force C to be 0
How can we perform this operation ?

NB this option is available in excel

Best regards

@maasencioh
Copy link
Member

Hello @ChinaFred, at this moment this option doesn't exist in our package, but it is a good idea, if you are interested in implementing it we'll be happy to help you.

@ghost ghost mentioned this issue Aug 9, 2023
@ghost
Copy link

ghost commented Sep 24, 2023

It seems that the current code is actually capable of this calculation, just passing an array to the degree field.

In this specific case, for example, it would be [1,2], or [2,1], omitting 0.

@ghost ghost mentioned this issue Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants