-
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
AlgebraicDecisionTree Helpers #1696
Merged
Merged
Changes from 53 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
7695fd6
Improved HybridBayesNet::optimize with proper model selection
varunagrawal 39f7ac2
handle nullptrsin GaussianMixture::error
varunagrawal c374a26
nicer HybridBayesNet::optimize with normalized errors
varunagrawal ed5ef66
Merge branch 'hybrid-printerrors' into model-selection-integration
varunagrawal 50670da
HybridValues formatting
varunagrawal af490e9
sum and normalize helper methods for the AlgebraicDecisionTree
varunagrawal c004bd8
test for differing covariances
varunagrawal 7b56c96
differing means test
varunagrawal e549a9b
normalize model selection term
varunagrawal b2638c8
max and min functions for AlgebraicDecisionTree
varunagrawal 6f09be5
error normalization and log-sum-exp trick
varunagrawal 3660429
handle numerical instability
varunagrawal 07ddec5
remove stray comment
varunagrawal c6584f6
minor test cleanup
varunagrawal ebcf958
better, more correct version of model selection
varunagrawal 1e298be
Better way of handling assignments
varunagrawal b4f07a0
cleaner model selection computation
varunagrawal 6f4343c
almost working
varunagrawal 409938f
improved model selection code
varunagrawal 93c824c
overload == operator for GaussianBayesNet and VectorValues
varunagrawal b20d33d
logNormalizationConstant() for GaussianBayesNet
varunagrawal 3a89653
helper methods in GaussianMixture for model selection
varunagrawal 6f66d04
handle pruning in model selection
varunagrawal 0d05810
update wrapper for LM with Ordering parameter
varunagrawal 651f999
print logNormalizationConstant for Gaussian conditionals
varunagrawal 114c86f
GaussianConditional wrapper for arbitrary number of keys
varunagrawal 82e0c0d
take comment all the way
varunagrawal 8a61c49
add model_selection method to HybridBayesNet
varunagrawal 3ba54eb
improved docstrings
varunagrawal bb95cd4
remove `using std::dynamic_pointer_cast;`
varunagrawal 6d50de8
docstring for HybridBayesNet::assembleTree
varunagrawal 9ad7697
Merge branch 'hybrid-printerrors' into model-selection-integration
varunagrawal 502e8cf
Merge branch 'model-selection-integration' into hybrid-lognormconstant
varunagrawal a80b5d4
Merge branch 'hybrid-printerrors' into model-selection-integration
varunagrawal 0430fee
improved naming and documentation
varunagrawal afcb933
document return type
varunagrawal c5bfd52
better printing of GaussianMixtureFactor
varunagrawal e9e2ef9
Merge pull request #1705 from borglab/hybrid-lognormconstant
varunagrawal 538871a
Merge branch 'develop' into model-selection-integration
varunagrawal 1501b7c
Merge branch 'develop' into model-selection-integration
varunagrawal eb9ea78
Merge branch 'develop' into model-selection-integration
varunagrawal a9cf4a0
fix namespacing
varunagrawal 2a080bb
Merge branch 'develop' into model-selection-integration
varunagrawal 113a7f8
added more comments and compute GaussianMixture before tau
varunagrawal 2430abb
test for different error values in BN from MixtureFactor
varunagrawal 3c722ac
update GaussianMixtureFactor to record normalizers, and add unit tests
varunagrawal d4e5a9b
different means test both via direct factor definition and toFactorGraph
varunagrawal fef929f
clean up model selection
varunagrawal 654bad7
remove model selection code
varunagrawal 6b1d89d
fix testMixtureFactor test
varunagrawal 6d9fc8e
undo change in GaussianMixture
varunagrawal fd2062b
remove changes so we can break up PR into smaller ones
varunagrawal cea84b8
reduce the diff even more
varunagrawal 73d971a
unit tests for AlgebraicDecisionTree helper methods
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
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.
Unit tests?