-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Make DiscreteResults Unchanging #4322
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4322 +/- ##
==========================================
- Coverage 82.1% 82.09% -0.01%
==========================================
Files 587 587
Lines 93446 93409 -37
Branches 10372 10372
==========================================
- Hits 76722 76685 -37
Misses 14327 14327
Partials 2397 2397
Continue to review full report at Codecov.
|
(found this open in a browser tab that I looked at) I think main idea is good. and I think it's better without attributes, i.e. use method call which will load the relevant data in a lazy way, instead of attaching all results to the classes upon import. |
91682fc
to
c9396ab
Compare
not urgent, maybe eventually |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about this, even though milestoned by @josef-pkt
Needs rebase, pls. |
@@ -98,8 +97,7 @@ def setup_class(cls): | |||
cls.res1._results._attach_nullmodel = True | |||
cls.init_keys = ['exog_infl', 'exposure', 'inflation', 'offset'] | |||
cls.init_kwds = {'inflation': 'probit'} | |||
res2 = RandHIE() | |||
res2.zero_inflated_poisson_probit() | |||
res2 = RandHIE.zero_inflated_poisson_probit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense.
lint failure. |
azure fail is get_rdataset URLError |
It is really tough to figure out what is tested where, what has externally-confirmed tests vs internal-consistency tests vs smoketests. This peels back one entirely unnecessarily layer of that.