-
-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update notebook Dirichlet mixture of multinomials to PyMC 5 (#581)
* Update notebook to pymc v5 Also remove unused import * Make randomness deterministic * Update notebook to match new simulated data Since the simulated data has changed, the numerical issues we faced are slightly different. The notebook has been modified to reflect this. - No need to do metropolis sampling for the multinomial model - Worse numerical issues for the explicit DM model. Addressed by increasing target_accept and modify the discussion about poor rhat values - Minor changes to match new data - Also refer to species by name instead of index. * Minor changes to notebook text * Change target_accept from 0.95 to 0.9 This gets rid of most divergences, and gives much better r_hat statistics * Add myself to author list * Minor change * Fix minor text mismatches after updates * Update unrelated files
- Loading branch information
1 parent
5177871
commit 0e74cef
Showing
4 changed files
with
684 additions
and
525 deletions.
There are no files selected for viewing
This file contains 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 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
1,100 changes: 648 additions & 452 deletions
1,100
examples/mixture_models/dirichlet_mixture_of_multinomials.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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