TimSal posted on 02-25-2011 8:30 AM
The documentation says that the Constrain.Positive factor is fully supported for VMP, yet the following code produces an error:
Variable<double> test = Variable.GaussianFromMeanAndVariance(0, 1);
Variable.ConstrainPositive(test);
InferenceEngine engine = new InferenceEngine(new VariationalMessagePassing());
engine.Infer(test);
Am I missing something?