-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[WIP] Add Dirichlet-multinomial distribution. #3639
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
Closed
Closed
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
c24214f
Add implementation of DM distribution.
bsmith89 95f7d71
Fix class name mistake.
bsmith89 43b601f
Add DM dist to exported multivariate distributions.
bsmith89 ac1983c
Export DirichletMultinomial in pymc3.distributions
bsmith89 ed0c68f
Attempt at matching Multinomial initialization.
bsmith89 08cdf09
Add some simple tests for DM.
bsmith89 c73580c
Correctly deal with 1d n and 2d alpha.
bsmith89 26a4202
Fix typo in DM random.
bsmith89 b82be63
Fix faulty tests for DM.
bsmith89 d16677c
Drop redundant initialization test for DM.
bsmith89 f41450d
Add test that DM is normalized for n=1 case.
bsmith89 46ceefb
Add DM test case based on BetaBinomial.
bsmith89 00baf4f
Merge branch 'master' into dirichlet-multinomial
ColCarroll 6e92bf2
Update pymc3/distributions/multivariate.py
ColCarroll File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.