-
Notifications
You must be signed in to change notification settings - Fork 799
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
Switch to EliminateDiscrete for max-product #1362
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
efd8eb1
Switch to EliminateDiscrete for max-product
dellaert dcb07fe
Test eliminate
dellaert 4d3bbf6
HBN::evaluate
dellaert b772d67
refactoring variables for clarity
dellaert be8008e
Also print mean if no parents
dellaert f6f782a
Add static
dellaert 143022c
Tiny Bayes net example
dellaert df4fb13
fix comment
dellaert 4023e71
continuousSubset
dellaert c8008cb
tiny FG
dellaert b463386
Made SumFrontals a method to test
dellaert 92e2a39
Added factor and constant and removed factors method
dellaert fa76d53
refactored and documented SumFrontals
dellaert 039c9b9
Test SumFrontals
dellaert 526da2c
Add Testable to GraphAndConstant
dellaert b094953
Fix compile issues after rebase
dellaert 4cb03b3
Fix SumFrontals test
dellaert 7ab4c3e
Change to real test
dellaert 6483130
Print estimated marginals and ratios!
dellaert dbd9faf
Fix quality testing
dellaert 3d821ec
Now test elimination in c++
dellaert 0095f73
attempt to fix elimination
dellaert 665cb29
Make testcase exactly 5.0 mean
dellaert 2c7b3a2
Refactoring in elimination
dellaert 4d313fa
Comment on constant
dellaert 064f17b
Added two-measurement example
dellaert 312ba5f
Synced two examples
dellaert 7c27061
Added missing methods
dellaert bd8d2ea
Added error for all versions - should become logDiensity?
dellaert 021ee1a
Deterministic example, much more generic importance sampler
dellaert fbfc20b
Fixed conversion arguments
dellaert 06aed53
rename
dellaert f8d75ab
name change of Sum to GaussianFactorGraphTree and SumFrontals to asse…
dellaert 12d02be
Right marginals for tiny1
dellaert 797ac34
Same correct error with factor_z.error()
dellaert 625977e
Example with 2 measurements agrees with importance sampling
dellaert c3f0469
Add mean to test
dellaert f726cf6
f(x0, x1, m0; z0, z1) now has constant ratios !
dellaert 66b846f
Merge branch 'hybrid/elimination' into hybrid/test_with_evaluate
varunagrawal 38f3209
fix GaussianConditional print test
varunagrawal 195dddf
clean up HybridGaussianFactorGraph
varunagrawal 47346c5
move GraphAndConstant traits definition to HybridFactor
varunagrawal ca1c517
remove extra print statements
varunagrawal 7825ffd
fix tests due to change to EliminateDiscrete
varunagrawal f117da2
remove extra print
varunagrawal cb885fb
check for nullptr in HybridConditional::equals
varunagrawal 46acba5
serialize inner_, need to test
varunagrawal 41c73fd
comment out failing tests, need to serialize DecisionTree
varunagrawal e01f7e7
kill unnecessary method
varunagrawal 9e7fcc8
make header functions as inline
varunagrawal 3771d63
simplify HybridConditional equality check
varunagrawal 385ae34
Merge pull request #1363 from borglab/hybrid/test_with_evaluate-2
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
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.
Are we keeping these for the future? My intuition says yes, but this would probably move to a base class.