-
-
Notifications
You must be signed in to change notification settings - Fork 985
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement AutoGaussian guide (#2929)
* Implement front-end of AutoGaussian guide * Implement funsor backend * Break plates causing collision * Fix some tests * Support monte carlo particles * Tweak variable order of cholesky parametrization * Register docstring * Split up methods, split up tests, add new tests, mark stage=funsor * Fix get_dependencies() to handle pyro.factor * Add failing test for plated sampling * Add regression tests for get_dependencies() * lint * Use funsor.recipes.forward_filter_backward_rsample * Fix & strengthen tests * Reflect * Add another exact test * Simplify log_density computation * Switch from precision to precision_chol parameters * Add test of Gaussian .rsample() and .log_prob() * Sketch dense backend * Update docs * Perfect precision parametrization (breaking both backends) * Minor updates * Change precision representation, start fixing dense backend * Add more tests * Refactor to use a class hierarchy * Flesh out dense backend (some tests fail) * Fix tests, simplify init logic * Add a pyro-cov poisson example model * Flesh out funsor backend * Add tests, update docs * Be safer about importing funsor * Fix more tests * Add a test * Simplify; fix bugs * Tweak test parameters * Revert unnecessary change * Mark test funsor stage * Wrap intractable error in NotImplemented * Fix serialization tests * fix typo
- Loading branch information
Showing
10 changed files
with
1,486 additions
and
58 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
Oops, something went wrong.