-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Adding logcdf method to inverse gamma distribution #3873
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3873 +/- ##
===========================================
- Coverage 90.72% 63.05% -27.67%
===========================================
Files 135 135
Lines 21264 21269 +5
===========================================
- Hits 19292 13412 -5880
- Misses 1972 7857 +5885
|
The Theano patch has been merged, so this should be good to go once the next version of Theano is released. Is there a procedure for dealing with features like this? |
I was under the impression that |
I do not plan to make more release and do not know someone that plan to do it. So yes, pointing to the github repo is the right things to do. |
Got it! I'll let team PyMC3 decide what to do here in that case. This is definitely not a high priority feature. Thanks all! |
I thought the plan was to issue a release of |
Yes, we have a fork even though it's not set up properly yet (travis, conda etc). But it would be quite easy for me to put out another theano release from their original one. This might be a good time to switch, however. |
I'm happy to help with infrastructure for the fork if that would be useful! |
@dfm That would be much appreciated! I just added you to the repo, feel free to push ahead without waiting for sign-offs. |
What's the state of this PR ? |
Since this requires updates to Theano, I'm not sure that it's worth pushing forward on. It depends on how committed the project is to maintaining releases of the Theano fork. I pushed some updates to the fork to get some infrastructure working, but I'm late to the game so I haven't really been following the plans! I don't actually need this function for the project that I implemented it for after all so it probably shouldn't be a high priority. Feel free to close this if you think that's best! |
In todays lab meeting we discussed that we might switch to the Theano fork with 3.11±, but want to maintain compatibility with the "real" Theano for a while too. Adding a "don't merge" label and tagging @brandonwillard so we can add it when the compatibility is given. |
Sounds good! Since I'm an idiot and opened this pull request from my master branch I'm going to close this and open a new pull request from a different branch (looks like you can only change the base branch of an open pull request :/) |
New PR at #3944. Sorry about the noise! |
This pull request adds a
logcdf
method to the inverse gamma distribution. It looks like it'll need to wait on this patch to Theano for the tests to pass, but I wanted to open this anyways and we'll come back to it when it's ready.An alternative would be to implement this without the
gammaincc
special function (some combination ofgammau
andgammaln
should do it), but that might have numerical issues.