Tag: Inference

Tl;dr Approximate Inference methods made easy

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 ...

Tutorial on Active Inference

Active inference is the Free Energy principle of the brain applied to action. It is relatively supported by experimental neuroscience studies and is a popular model of ‘how the brain works’. In this tutorial, we will consider the latest version, which is formulated as planning ...

How to Learn Causal Inference on Your Own for Free

While everyone focuses on AI and predictive inference, standing out requires mastering not just prediction, but understanding the “why” behind the data — in other words, mastering causal inference. You have heard that “correlation does not imply causation”, bu...

How to use Causal Inference when A/B testing is not available

Ever caught those pumped-up Nike Ads while tuning in to a podcast recapping last night’s epic NBA showdown? Or how about stumbling upon New Balance ads mid-sneaker review extravaganza on YouTube? That’s the magic of contextual targeting — the matchmaking maestro connecting content ...

Bootstrap Resampling for Hypothesis Tests: A Modern Approach to Statistical Inference

The bootstrap resampling method stands out as a powerful tool for hypothesis testing, especially in scenarios where traditional parametric tests may not be applicable due to the lack of normal distribution assumptions or small sample sizes. This essay delves into the essence of bootstrap resampling ...

How to use Bayesian Inference for predictions in Python

The beauty of Bayesian statistics is, at the same time, one of its most annoying features: we often get answers in the form of “well, the number is somewhere between…” If on one hand, this might be frustrating to business strategists or policymakers looking for straightforward ...

The Witticisms of Word Wrestling: A Humorous Take on Natural Language Inference

Context: Natural Language Inference (NLI) is a critical task in natural language processing (NLP) that involves determining the logical relationship between a pair of sentences, known as the premise and the hypothesis. Problem: NLI poses challenges due to linguistic nuances and the need for machi...