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

Upper clipping on binomial randgen in normal approx #107

Merged
merged 2 commits into from
Jun 30, 2023
Merged

Conversation

zihaoxu98
Copy link
Collaborator

This PR fixes the bug when using normal approx as a binomial random generator, by decorating an upper clipping on it.

@zihaoxu98 zihaoxu98 requested a review from dachengx June 30, 2023 15:26
@@ -10,6 +10,6 @@ multihist
numpy
numpyro
pandas
scikit-learn
scikit-learn<=1.2.2
Copy link
Collaborator

Choose a reason for hiding this comment

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

@coveralls
Copy link

coveralls commented Jun 30, 2023

Pull Request Test Coverage Report for Build 5424588887

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 83.101%

Totals Coverage Status
Change from base Build 5304161316: 0.0%
Covered Lines: 1908
Relevant Lines: 2296

💛 - Coveralls

Copy link
Collaborator

@dachengx dachengx left a comment

Choose a reason for hiding this comment

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

This is cool. Thanks @xzh19980906 .

@dachengx dachengx merged commit 1b19926 into master Jun 30, 2023
7 checks passed
@dachengx dachengx deleted the fix_binom branch June 30, 2023 15:45
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.

None yet

3 participants