Skip to content
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 Mixture Error #1318

Merged
merged 20 commits into from
Dec 23, 2022
Merged

Hybrid Mixture Error #1318

merged 20 commits into from
Dec 23, 2022

Conversation

varunagrawal
Copy link
Collaborator

Add error() methods to both the MixtureFactor and the GaussianMixtureFactor.

This will be used when computing the error terms to create the discrete probability tree.

@varunagrawal varunagrawal self-assigned this Oct 31, 2022
@varunagrawal
Copy link
Collaborator Author

Also added computing error for the HybridBayesNet and the GaussianMixture (aka the Hybrid Conditional). Now we can get the error tree for the full hybrid bayes net.

@varunagrawal
Copy link
Collaborator Author

Can I please get some love on this PR? It's just adds to the API.

@dellaert
Copy link
Member

I will take a look now

Copy link
Member

@dellaert dellaert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some "tough love" :-) :-)

gtsam/hybrid/GaussianMixture.h Outdated Show resolved Hide resolved
gtsam/hybrid/GaussianMixture.h Outdated Show resolved Hide resolved
gtsam/hybrid/GaussianMixtureFactor.h Outdated Show resolved Hide resolved
gtsam/hybrid/GaussianMixtureFactor.h Outdated Show resolved Hide resolved
gtsam/hybrid/HybridBayesNet.h Outdated Show resolved Hide resolved
gtsam/hybrid/GaussianMixture.cpp Outdated Show resolved Hide resolved
gtsam/hybrid/GaussianMixtureFactor.cpp Show resolved Hide resolved
gtsam/hybrid/HybridBayesNet.cpp Show resolved Hide resolved
gtsam/hybrid/HybridBayesNet.cpp Show resolved Hide resolved
gtsam/hybrid/HybridGaussianFactorGraph.cpp Show resolved Hide resolved
@dellaert
Copy link
Member

PS also merge in master before pushing a new version? And ping me on email or I might forget to look at it.

Copy link
Member

@dellaert dellaert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for addressing comments! Merge at will :-)

@varunagrawal varunagrawal merged commit 07d0a03 into develop Dec 23, 2022
@varunagrawal varunagrawal deleted the hybrid/error branch December 23, 2022 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants