amidst / toolbox

A Java Toolbox for Scalable Probabilistic Machine Learning
http://www.amidsttoolbox.com
Apache License 2.0
119 stars 35 forks source link

Set some observations for the sampler #88

Open gowthamnatarajan opened 6 years ago

gowthamnatarajan commented 6 years ago

The sampler class generates data randomly from the graph. Is there a way I can specify values for some variables (like some variables are observed) and then generate samples for the remaining variables.

andresmasegosa commented 6 years ago

That would be a nice addition. Actually, we have something like that in the Importance Sampling algorithm implemented by @dariorlual. We will try to add it to the core package.