Tl;dr Approximate Inference methods made easy

<h2>&ldquo;MCMC vs VI&rdquo; is no longer a discussion about your favourite Roman numeral. If you share my trepidation for model performance in the face of data sparsity, or you simply suffer from anxiety uncertainty, you might be tempted into the Bayesian world. Years later at the precipice of your career (and mental health degeneracy) you over-engineer probabilistic models so intractable that would stress Lord Bayes himself into stomach ulcers. The solution? Approximate inference, the true antihero to model simplification.</h2> <p><a href="https://chleon.medium.com/?source=post_page-----c9652947bc04--------------------------------" rel="noopener follow"><img alt="Leon Chlon" src="https://miro.medium.com/v2/resize:fill:88:88/1*fQQHT_fvgxRk0HcIJt1nKw.jpeg" style="height:44px; width:44px" /></a></p> <p><a href="https://chleon.medium.com/?source=post_page-----c9652947bc04--------------------------------" rel="noopener follow">Leon Chlon</a></p> <p>&middot;</p> <p><a href="https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fsubscribe%2Fuser%2Fff2d21af7d63&amp;operation=register&amp;redirect=https%3A%2F%2Fchleon.medium.com%2Ftl-dr-approximate-inference-methods-made-easy-c9652947bc04&amp;user=Leon+Chlon&amp;userId=ff2d21af7d63&amp;source=post_page-ff2d21af7d63----c9652947bc04---------------------post_header-----------" rel="noopener follow">Follow</a></p> <p>7 min read</p> <p>&middot;</p> <p>1 day ago</p> <p>&nbsp;</p> <p>46</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>source:unsplash.com</p> <p>A closed-form solution to a machine learning model is one that can be written down on a sheet of paper using a finite number of standard mathematical operations. For example, linear models have closed-form solutions IF the design covariance matrix is invertible, otherwise we obtain a solution using iterative optimisation.</p> <p>&nbsp;</p> <p>Bayesian models do not typically have exact closed-form solutions for their posterior distributions. One thing that typically helps is choosing simple models, Gaussian likelihood functions and conjugate priors. A prior distribution is said to be&nbsp;<em>conjugate</em>&nbsp;to a likelihood function if the resulting posterior belongs to the same distribution family as the prior.</p> <p><a href="https://chleon.medium.com/tl-dr-approximate-inference-methods-made-easy-c9652947bc04">Click Here</a></p>