Extending HMC model with custom node at the observation side #266
-
Hi all, The original model consists of N continguous markov chains of length M. The code looks like this:
The observation matrix What I would like to do now is to add a variable
So far I'm not managing to make it work, but I don't know if it's because I'm doing something wrong or because it's too complicated a model and what I want to do is simply not possible. Cheers, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi Alvaro,
I am unsure if this is what you intended to do, but perhaps it is close. Let us know. |
Beta Was this translation helpful? Give feedback.
Hi Alvaro,$z_n$ is a Bernoulli distributed random variable (or a discrete random variable with 2 possible outcomes with a different density function but for simplicity lets assume it is Bernoulli). If $z_n$ is as such, definition of the non-linear function $f(z_n, w_{nm})$ needs clarification. Clarification is needed because the random variable $w_{nm}$ is assumed to evolve according to a 3 by 3 transition matrix, whereas in the function $f$ you are trying to add a 2 dimensional vector to a 3 dimensional vector which would return an error. Woul…
Nice to hear that you are playing around with RxInfer. Perhaps a bit more clarification is needed to identify the problem. As far as I understand