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

Discrete normal #216

Merged
merged 4 commits into from
Dec 1, 2023
Merged

Discrete normal #216

merged 4 commits into from
Dec 1, 2023

Conversation

vankesteren
Copy link
Member

Fixes #214

I am subclassing the continuous distributions. This makes the code very small but it might not be the most "clean" way of creating these discrete distributions.

@vankesteren vankesteren requested a review from qubixes November 29, 2023 13:54
@qubixes
Copy link
Member

qubixes commented Nov 30, 2023

Very nice and clean! I added the tests as well, feel free to merge!

@vankesteren
Copy link
Member Author

Our CI is failing on macos-latest in the nbval. Is this something we can fix easily or should I just merge?

Copy link
Collaborator

@Samuwhale Samuwhale left a comment

Choose a reason for hiding this comment

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

Looks good to me! I'll be sure to add them to the developer's guide section I'm currently working on as well (as I'm working on an overview of the distributions there).

@Samuwhale
Copy link
Collaborator

Samuwhale commented Nov 30, 2023

You can ignore the nbval problem and merge. For some reason tests (for various previous PRs too) keep failing on df.describe() in the mac notebook tests. But the problem is isolated to the tests, as everything works when running on my own m1 mac, and have worked on @qubixes old mac as well. Just a weird bug, but not related to our codebase.

@qubixes qubixes merged commit e046be9 into main Dec 1, 2023
5 of 6 checks passed
@qubixes qubixes deleted the discrete_normal branch February 19, 2024 13:51
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.

Add normal and truncatednormal discrete distributions
3 participants