-
Notifications
You must be signed in to change notification settings - Fork 795
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
Hybrid/simplify #1388
Merged
Merged
Hybrid/simplify #1388
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
34a9aef
normalizationConstants returns all constants as a DecisionTreeFactor
dellaert 1dcc6dd
All tests still work with zero constant!
dellaert 03ad393
Removed FactorAndConstant, no longer needed
dellaert 906330f
Add discrete contribution to logProbability
dellaert 681c75c
Expose toFactorGraph to wrapper
dellaert dfef2c2
Simplify elimination
dellaert 070cdb7
insert_or_assign
dellaert 96e3eb7
Some test refactoring
dellaert c22b2ca
Improved docs
dellaert 5b0408c
Check for error>0 and proper normalization constant
dellaert 191e614
Fix print
dellaert 57e59d1
Compute log-normalization constant as the max of the individual norma…
dellaert 7a41180
Refactored tests and removed incorrect (R not upper-triangular) test.
dellaert 207c9b7
Implemented the "hidden constant" scheme.
dellaert 3a446d7
Explicitly implement logNormalizationConstant
dellaert 202a5a3
Fixed toFactorGraph and added test to verify
dellaert a5951d8
Fixed test to work with "hidden constant" scheme
dellaert 8357fc7
Fix python tests (and expose HybridBayesNet.error)
dellaert e31884c
Eradicated GraphAndConstant
dellaert 9af7236
Added DEBUG_MARGINALS flag
dellaert 519b2bb
Added comment
dellaert 32d69a3
Trap if conditional==null.
dellaert f4859f0
Fix logProbability tests
dellaert 4283925
Ratio test succeeds on fg, but not on posterior yet,
dellaert b494a61
Removed obsolete normalizationConstants method
dellaert 892759e
Add math related to hybrid classes
dellaert c3ca31f
Added partial elimination test
dellaert e444962
Added correction with the normalization constant in the second elimin…
dellaert f714c4a
Merge branch 'develop' into hybrid/simplify
dellaert 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
Added correction with the normalization constant in the second elimin…
…ation path.
- Loading branch information
commit e444962aad06985d6b75517bc7a3fac8d98b7b4b
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
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.
How could this branch be taken?
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.
Yeah, whenever we do BayesTree there is some way (that I don't yet understand) that nullptrs are used, and we are dealing with all over the place. Can you explain? Or @varunagrawal ?