-
Thanks John, Now I understand the point. But what I didn't figure out is how Infer.net reaches that result, based on what kind of formula? Or can I manually follow some algorithm to get that result. Let's make a even simple example: static void Main() { Variable<bool> P = Variable.Bernoulli(0.3).Named("P"); Variable.ConstrainEqualRandom<bool, Bernoulli>(P, new Bernoulli(0.6)); InferenceEngine ie = new InferenceEngine(); ie.ShowFactorGraph = true; Console.WriteLine("P
-
Really appreciate John's explanation... It is very detail, and makes sense to me.
-
Hi, I am new to Infer.net, and I am trying to play with it. As documented, there is a great way to attach constraint between random variables using "ConstrainEqualRandom"...I made a simple test showing below, but I cannot explain why Infer.net gives me that result... Could anyone explain how Infer.net generates such result? or I used this function in a wrong way?.. What I want to test is suppose I have a prio distribution on A, and B. I also know C = A & B... My intuition is if I have