-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add Precondition interpretation for Gaussian TVE #553
Merged
Merged
Changes from 80 commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
9fc9593
Add Precondition interpretation for Gaussian TVE
fritzo f674d2b
Fix bugs; add a test
fritzo 6b2db4d
Add an ops.getslice for more complex eager indexing
fritzo 6f7b326
Fix bugs, add patterns, add more tests
fritzo 33d382b
fix is_affine()
fritzo aa24595
Merge branch 'getslice-op' into precondition
fritzo 2bf875f
Add more tests
fritzo 0e14835
Merge branch 'master' into getslice-op
fritzo 697c6cd
Fix eager_getslice_lambda
fritzo d108aab
Merge branch 'getslice-op' into precondition
fritzo 56442c2
Merge branch 'master' into precondition
fritzo b500034
Merge branch 'master' into precondition
fritzo bf30d15
Switch to sqrt(precision) representation in Gaussian
fritzo 6ad1952
Fix some bugs
fritzo 15f767c
Fix more math
fritzo 5b3c285
Add GaussianMeta conversions; fix broadcasting bug
fritzo 6317f7f
Fix some distribution tests
fritzo 841010a
Refactor from info_vec to white_vec
fritzo 57a1204
Fix more tests
fritzo d858cd5
Flesh our matrix_and_mvn_to_funsor()
fritzo 47afb49
Work our marginalization
fritzo e919c33
fix more tests
fritzo 965bb50
Fix more tests
fritzo c1c8d18
Fix test_gaussian.py
fritzo 47ab8da
Fix distribution patterns
fritzo fe0c7c5
Fix argmax approximation
fritzo 10b3432
Remove Gaussian.negate attribute
fritzo 702152b
Fix matrix_and_mvn_to_funsor diag (full still broken)
fritzo 493edb6
Fix old uses of info_vec
fritzo 67ad0c1
Add a test
fritzo 2d4fdb9
Fix shape bug in matrix_and_mvn_to_funsor()
fritzo 18674e8
Merge branch 'master' into srif
fritzo eeda90d
Enable pprint for funsors
fritzo 5f17da8
Revert pp property
fritzo be11455
Merge branch 'pprint' into srif
fritzo d7dfd20
Fix matrix_and_mvn_to_funsor()
fritzo f99682a
Relax rank condition
fritzo b5bee71
Merge branch 'master' into srif
fritzo cc1e08c
Fix ._sample()
fritzo 435119a
Fix eager_contraction_to_binary
fritzo c225b59
Fix test_joint.py
fritzo f279dd3
Fix comparisons in sequential sum product
fritzo 2efa851
Fix saarka bilmes test
fritzo 8c301dd
Add and xfail tests of singular matrices
fritzo 25e8c87
Fix rank deficiency issues
fritzo 60cc8e5
Add gaussian integrate patterns
fritzo 631e06c
Fix comment
fritzo 503ffd7
Add a set_compression_threshold context manager
fritzo 22479dc
Update docstring
fritzo 8aa123d
Merge branch 'master' into srif
fritzo 639ed0b
Fix backward sampling support bug
fritzo 76d8bcd
Xfail test_elbo.py::test_complex
fritzo c709453
Relax test thresholds
fritzo c8ff3a9
Fix ops.qr numpy backend
fritzo 503383b
Fix jax tests
fritzo ec499b0
Fix bugs
fritzo f5d8519
Tweak sensor example
fritzo ecc249b
Merge branch 'master' into precondition
fritzo 3f7af74
Merge branch 'srif' into precondition
fritzo f39019b
Fix bugs
fritzo 577189b
Add more precondition approximate patterns
fritzo 5f468aa
Address review comments
fritzo 4d1af1a
Merge branch 'srif' into precondition
fritzo bcce722
Add Sub[Gaussian, tuple] pattern
fritzo 8eb9d8a
Sketch implementation of partial sampling from Gaussians
fritzo 3339b30
Fix bug
fritzo 3b544cb
Fix a bug in partial sampling
fritzo d8a9919
Get partial sampling working
fritzo bb71c2c
Merge branch 'master' into precondition
fritzo 673b64a
Reorder Gaussians in cnf
fritzo afbe277
Fix batch shape computation
fritzo 7691e9c
Add pattern to fuse nested Subs
fritzo c1dcbc1
Merge branch 'fuse-subs' into precondition
fritzo 89ef6d5
Relax tolerance
fritzo ca5b49b
Fix eager_finitary_cat
fritzo 893e8ff
Merge branch 'master' into precondition
fritzo 0e47b85
Increase sample count
fritzo 8dce21e
Fix jax backend for ops.randn
fritzo 6a303f6
Revert Gaussian - Gaussian pattern
fritzo ba2b740
Relax tolerance
fritzo fc13611
Merge branch 'master' into precondition
fritzo ca6cae7
Remove obsolete test
fritzo 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 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.
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.
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.
note that
batch_vars
can now change during the course ofadjoint
, e.g. in Precondition where the aux vars aren't know until eachApproximate
term is hit.