-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Convert zero-inflated distributions to Mixture subclasses #2231
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 4 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
b407bdb
Added zero-inflated binomial distribution
fonnesbeck 73694ef
Raise NotImplementedError for SplineWrapper gradient operation (#2211)
a-rodin 524b88e
Fixed syntax error
fonnesbeck 17b27b0
Added ZeroInflatedBinomial to global namespace
fonnesbeck 4fd07b8
Fixed attribute error in call to scipy.stats
fonnesbeck da5401f
Use setup.py to create test environment
ColCarroll cfd29aa
Mock is also used
ColCarroll d35f0e5
Imported but untested requirements
ColCarroll 0f7f6b5
Use conda numpy/scipy/mkl-service
ColCarroll b505f47
Merge pull request #2229 from ColCarroll/update_create_testenv
twiecki c3afa00
Vi summary (#2230)
ferrine 52761c2
Return identity matrix if no scaling provided
a-rodin c4659b4
Simplify calculation of identity scaling matrix
a-rodin eb6042f
Merge pull request #2232 from a-rodin/scaling-default-to-identity
4a8f64f
scaling for NUTS using 'advi_map'
1aea645
Revert "Merge pull request #2232 from a-rodin/scaling-default-to-iden…
twiecki 9b0f4fc
Merge pull request #2234 from junpenglao/master
999be1e
Imported ZeroInflatedBinomial in test_distributions
fonnesbeck e478fe3
Converted zero-inflated distributions to Mixture subclasses
fonnesbeck 8bc7cbd
Changed docstring of zero-inflated distributions to specify two-compo…
fonnesbeck e7b7462
Fixing typo
KarinKnudson 69e223b
Merge pull request #2237 from karink520/mixture_typo
a750e3d
Fixed dimension-matching issue with mixture weights in zero-inflated …
fonnesbeck 4515977
Reversed order of psi, 1-psi to make them consistent with the definit…
fonnesbeck 3d83c6d
Change sample() to use live_plot_kwargs instead of **kwargs. (#2235)
twiecki 9327794
Clean up GLM doc (#2241)
9cb6d53
Don't broadcast conditions in Mixture logp
AustinRochford 482e751
statsmodels is required for some examples
AustinRochford 9047dfa
Revert "statsmodels is required for some examples"
AustinRochford 541afd8
Merge pull request #2243 from AustinRochford/mixture-bound-dont-broad…
AustinRochford 504fd60
Added zero-inflated binomial distribution
fonnesbeck 8a9936b
Fixed syntax error
fonnesbeck 9f7e8ee
Added ZeroInflatedBinomial to global namespace
fonnesbeck 16576f9
Fixed attribute error in call to scipy.stats
fonnesbeck b7cfd1f
Imported ZeroInflatedBinomial in test_distributions
fonnesbeck b4494c6
Converted zero-inflated distributions to Mixture subclasses
fonnesbeck e847161
Changed docstring of zero-inflated distributions to specify two-compo…
fonnesbeck 4e8df1c
Fixed dimension-matching issue with mixture weights in zero-inflated …
fonnesbeck 1e05632
Reversed order of psi, 1-psi to make them consistent with the definit…
fonnesbeck 0217259
Merge branch 'zero_inflated_binomial' of github.com:pymc-devs/pymc3 i…
fonnesbeck 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.
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.
You forgot to import
ZeroInflatedBinomial
in the test_distributions.py