Skip to content
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 Rice and Skew Normal distribution #4705

Merged
merged 7 commits into from
May 17, 2021

Conversation

farhanreynaldo
Copy link
Contributor

This PR closes a subset of #4686, specifically Rice and Skew Normal distribution.

@ricardoV94 ricardoV94 self-requested a review May 16, 2021 08:24
@ricardoV94 ricardoV94 mentioned this pull request May 16, 2021
26 tasks
Copy link
Member

@ricardoV94 ricardoV94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. I left 2 small requests. Thanks for opening the PR!

pymc3/tests/test_distributions_random.py Show resolved Hide resolved
@ricardoV94
Copy link
Member

I had to add an xfail to the rice logp test as some combinations failed on float32. I'll merge after the tests pass.

Great work!

@farhanreynaldo
Copy link
Contributor Author

I had to add an xfail to the rice logp test as some combinations failed on float32. I'll merge after the tests pass.

Great work!

Thank you for your help and guidance!

ricardoV94
ricardoV94 previously approved these changes May 17, 2021
Copy link
Member

@ricardoV94 ricardoV94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Thanks 🚀

@ricardoV94
Copy link
Member

ricardoV94 commented May 17, 2021

A rebase was needed :D

@ricardoV94 ricardoV94 merged commit a68f571 into pymc-devs:v4 May 17, 2021
twiecki pushed a commit that referenced this pull request Jun 5, 2021
* refactor Skewnormal and Rice distribution
* add test for rice b and skewnorm tau params
* change default parameter to b
* Add float32 xfail to `test_rice`

Co-authored-by: Farhan Reynaldo <[email protected]>
Co-authored-by: Ricardo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants