-
Notifications
You must be signed in to change notification settings - Fork 28
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
Issue with class Gamma
#188
Comments
Hi @anthonybritto, thanks for raising the issue. Instead you should use the ProxNewton solver, as follows:
feel free to reopen if it does not fix your issue. EDIT: you'll also need to disable intercept fitting for a while, as the current implementation is probably not correct. |
EDIT: in fact it's currently implemented correctly in main, using a different method than |
I'm trying to construct the following model:
mod = GeneralizedLinearEstimator(Gamma(), skg.penalties.L1(alpha=0.5))
However, when I run
mod.fit(exog, endog)
I am met withAttributeError: 'Gamma' object has no attribute 'intercept_update_step'
Looking at the documentation, I wonder if this is due a simple typo: I see that
Gamma
has the methodintercept_update_self
defined; should this beintercept_update_step
instead?Is there a possible workaround for now? I naively tried to define
but the error persists.
The text was updated successfully, but these errors were encountered: