Approximate Inference2026-08-31explainersamplingmcmcgibbs‑samplinglikelihood‑weightingbelief‑propagationmonte‑carlographical‑modelsinferenceapproximate inference in graphical models — forward and rejection sampling, likelihood weighting, gibbs sampling and mcmc, and loopy belief propagation, with the trade-offs that decide which to reach for.