You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is it possible to choose the value of the intercept for the first segment? In a simple linear regression this can be done easily, but I don't know how to specify a "fixed intercept" here.
considering your main example, you have the intercept of this fitted data that is b0=5.
What you can do in the meantime is use constraints x_c and y_c.
It's not the same solution as what you would do to explicitly fix the intercept, because technically the intercept is still a model parameter this way. The constrained least squares fit should figure out how to solve the constrain by fixing the intercept easily. However, this constrained least squares fit is less robust than a method that explicitly fixes the intercept.
is it possible to choose the value of the intercept for the first segment? In a simple linear regression this can be done easily, but I don't know how to specify a "fixed intercept" here.
considering your main example, you have the intercept of this fitted data that is b0=5.
Can I force the fitting process to have the intercept value equal to 6?
Something like..
breaks1 = my_pwlf.fit(2,fixed_b0=6)
That would be helpful. Thank you
The text was updated successfully, but these errors were encountered: