-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Add piecewise regression example #437
Comments
Being somewhat thick here, wouldn't be a smoother (no pun intended) option to use |
Yes, you could also do that, but the following points come to my mind:
However, your point is also a motivation to show the connection between piecewise regression using |
Fair points. I appreciate that my proposition might be a tad bullish regarding people's familiarity with splines use. |
I like when people get involved in the issues and propose new ideas. I really appreciate your comments. So please feel free to share when you want to propose something. To be a little clearer, I'm not saying that we should only have the example using |
@tomicapretto I tried using a custom function but I get this error:
It seems to happen because I have my |
@ivanmkc could you share an example of what you're trying to do? What you're suggesting as the problem seems to make sense though. |
Added piecewise regression example to example docs.
Adding piecewise regression examples in example docs
We can define
And then simply do
The text was updated successfully, but these errors were encountered: