-
Notifications
You must be signed in to change notification settings - Fork 765
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 Multifrontal #1323
Merged
Merged
Hybrid Multifrontal #1323
Changes from 21 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
0938159
overload multifrontal elimination
varunagrawal 98d3186
add copy constructor for HybridBayesTreeClique
varunagrawal 7ae4e57
fix HybridBayesTree::optimize to account for pruned nodes
varunagrawal d54cf48
fix creation of updatedBayesTree
varunagrawal 318f738
fixup the final tests
varunagrawal 6e6bbff
update docstring for Ordering::+=
varunagrawal 5e2cdfd
make continuousProbPrimes and continuousDeltas as templates
varunagrawal 2394129
address review comments
varunagrawal 05b2d31
better printing
varunagrawal 3eaf4cc
move multifrontal optimize test to testHybridBayesTree and update doc…
varunagrawal cd3cfa0
moved sequential elimination code to HybridEliminationTree
varunagrawal 15fffeb
add getters to HybridEliminationTree
varunagrawal addbe2a
override eliminate in HybridJunctionTree
varunagrawal ae0b3e3
split up the eliminate method to constituent parts
varunagrawal bed56e0
mark helper methods as protected and add docstrings
varunagrawal 5fc114f
more unit tests
varunagrawal 22e4a73
Add details about the role of the HybridEliminationTree in hybrid eli…
varunagrawal 0596b2f
remove unrequired code
varunagrawal 62bc9f2
update hybrid elimination and corresponding tests
varunagrawal 6beffeb
remove commented out code
varunagrawal da5d3a2
Merge pull request #1339 from borglab/hybrid/new-elimination
varunagrawal 812bf52
minor cleanup
varunagrawal 46380ca
Merge branch 'hybrid/tests' into hybrid/multifrontal
varunagrawal 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
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.
This is not a great name. It refers to math that is not in the documentation. Suggest
unnormalizedProbabilities
documenting the fact that it isexp(-E)
. On a side note: I question the wisdom of exponentiating small numbers before they will somehow be normalized. Typically we avoid doing this until we know the minimum error and then subtract the minimum error so the corresponding maximum prob' == 1.0.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.
These are unnormalized probabilities only on the continuous variables and
probPrime
is the method name for computing the unnormalized probabilities, so it seemed to make sense. If you still think I should rename it tounnormalizedProbabilities
, will gladly do so.Regarding the exponentiation, the minimum error term will always be 0 due to pruning.
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.
Update: this function will get deleted.