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
I'm not sure what the status is, I think it was mostly fixed in the scale refactoring PR.
AFAICS fit_irls still attaches to the model, but the results instance does not directly access it anymore, scale is results also results attribute.
but the results instance does not directly access it anymore
This is a good start, reminds me of a bug in discrete_model we fixed a while back. But unless the model actually needs scale (and scaletype), it should not be set. Especially not outside of __init__/initialize. Being consistent about what are Model attrs vs Results attrs (and where they are defined) will make things better in the long run.
Activity
jbrockmendel commentedon Sep 4, 2018
@josef-pkt this is a pet peeve of mine, too. Let me fix it?
josef-pkt commentedon Sep 4, 2018
I'm not sure what the status is, I think it was mostly fixed in the scale refactoring PR.
AFAICS fit_irls still attaches to the model, but the results instance does not directly access it anymore, scale is results also results attribute.
jbrockmendel commentedon Sep 4, 2018
This is a good start, reminds me of a bug in discrete_model we fixed a while back. But unless the model actually needs
scale(andscaletype), it should not be set. Especially not outside of__init__/initialize. Being consistent about what are Model attrs vs Results attrs (and where they are defined) will make things better in the long run.