-
Notifications
You must be signed in to change notification settings - Fork 46
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
[ENH] interface TweedieRegressor
from sklearn
as skpro
regressor
#423
Comments
Some points regarding the same
A doubt regarding the |
To answer these:
yes, but for non-integer p parameter these are very specific families that are also not available yet. It is a good question whether the distribution should internally decompose in these case distinctions. |
From the conversation I can infer that we can implement this in
This can be utilized along with the usage of the
I think there is a very round about way to do this by passing the x value to |
Some thought on the Tweedie Distribution
|
Opened new issue on Tweedie distribution here, as that does not seem too straightforward - for further discussion. |
We should try to interface
TweedieRegressor
fromsklearn
as anskpro
regressor.https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.TweedieRegressor.html
Notes on implementation:
return_std
interface, but we can use_prep_skl_df
.Tweedie
distribution inskpro
, currently it is not implemented.Tweedie
has three parameters: power, location, scale. Power is set fixed in thesklearn
TweedieRegressor
, location is returned bypredict
, but it is unclear whether scale can be obtained from it. Perhaps @fsaforo1 has insight on this point.FYI @ShreeshaM07, this is very similar to your previous work on
statsmodels
GLM!The text was updated successfully, but these errors were encountered: