-
Here's the usage for the previous post. Simplest example for a single observation: Variable < double > w = Variable .GaussianFromMeanAndPrecision(1.2, 0.4); Variable < bool > y = Variable .BernoulliFromLogOdds(w); InferenceEngine ie = new InferenceEngine ( new VariationalMessagePassing...
-
Tom has now written a VMP operator for logistic regression which uses the Jaakola and Jordan bound. It will be available in the next beta release (tentatively scheduled for the second week in July). Meanwhile, the code is small enough that I can paste it in here - it uses the BernoulliFromLogOdds factor...