Skip to content

Inference with the SampleListFormConstraint #340

Answered by wouterwln
ThijsvdLaar asked this question in Q&A
Discussion options

You must be logged in to vote

An implicit optimization of RxInfer seems to be causing a bug here. What happens is the following: RxInfer is trying to multiply all incoming messages to x before approximating with a sample list. The problem is that RxInfer first tries to multiply all ContinuousMultivariateLogPdf's (storing them in a LinearizedProductOf) and tries to multiply this result with a MvNormalMeanCovariance. This is a problem because according to RxInfer, a LinearizedProductOf is not an AbstractContinuousGenericLogPdf, so we do not know which distribution to use as a reference distribution. Let's first propose to RxInfer to use the MvNormalMeanCovariance as it's reference distribution:

constraints = @constraints 

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ThijsvdLaar
Comment options

ThijsvdLaar Aug 1, 2024
Collaborator Author

Answer selected by ThijsvdLaar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants