-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement general Gaussian funsor (#37)
* WIP sketch Gaussian funsor * Partially implement binary_gaussian_gaussian * Implement marginalization along a dimension; add smoke test * Add more comments * Implement binary_gaussian_gaussian * Sketch to_affine() and Affine funsor * Add xfailing test for to_affine() * Sketch more of eager_subs * Remove affine stuff * WIP fix align_gaussian() using align_tensor() * Refactor and simplify align_tensor() * Fix eager_subs * Get smoke tests working * Switch from scale_tril to precision representation * Implement basic Normal -> Gaussian transform * Rename normal conversions * Fix filling in of defaults for distribution classes * Add test for binary_gaussian_number * Add test for binary_gaussian_tensor * Add xfailing test for gaussian + gaussian * Add more tests * Add test of Normal vs Gaussian * Fix math error in Gaussian .logsumexp() * Fix bugs in Gaussian+Gaussian, align_gaussian() * Fix kalman_filter.py, add to make test * Add more distribution tests
- Loading branch information
Showing
12 changed files
with
815 additions
and
56 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
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
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.