-
-
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
Refactor Student T Distribution #4694
Conversation
Thanks for taking this on @themrzmaster, we'll try to get some eyes on this soon. |
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.
Thanks for opening this PR!
I left some comments. Let me know if you have any questions :)
Thanks @ricardoV94 ! I'll probably get more refactors on the weekend. |
Also it seems this test can be re-enabled: https://github.com/pymc-devs/pymc3/blob/1118940dd5238a724be167fcc58295c49e0f10aa/pymc3/tests/test_posteriors.py#L79-L87 This one seems to wrongly mention the StudentT, but I don't think it actually depends on the LKJCholeskyCov, not the StudentT: |
I think that's it. Let's see if the tests pass 🤞 |
@themrzmaster I went ahead and changed the default parametrization of the op to be in terms of Let me know if it looks good for you and if there's anything else you want to change! If you want to make changes, don't forget to first pull from here. |
LGTM! Thanks |
@themrzmaster Great work! Looking forward to your next PR 🚀 |
* feat: adapt student t * Change default parameterization in terms of sigma and tweak tests Co-authored-by: Ricardo <[email protected]>
This PR closes subset of #4686.
I am not sure if the parametrization is correct