Control.Monad.Bayes.Inference.Lazy.WIS
lwis :: Int -> WeightedT SamplerT a -> IO [a] Source #
WeightedT Importance Sampling
Likelihood weighted importance sampling first draws n weighted samples, and then samples a stream of results from that regarded as an empirical distribution