constrain positive (Migrated from community.research.microsoft.com) RRS feed

  • Question

  • 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);


    InferenceEngine engine = new InferenceEngine(new VariationalMessagePassing());



    Am I missing something?

    Friday, June 3, 2011 6:22 PM


  • minka replied on 02-28-2011 9:14 AM

    This is an error in the documentation.  Constrain.Positive is not yet supported for VMP.

    Friday, June 3, 2011 6:22 PM