How do you apply bayesian inference in probabilistic model?