Random Walks on Polls
A while ago, the Economist published an explanation of their model of the 2016 US presidential election. This post implements a simplified form of that model.
A while ago, the Economist published an explanation of their model of the 2016 US presidential election. This post implements a simplified form of that model.
Numpyro models expect data in the form of a pytrees: nested lists or dictionaries of multidimensional arrays. But datasets usually don’t start that way: we u...
Accounting for confounders using Gaussian Processes
Bayesian calibrated survey sampling
Tracking a robot’s motion with maximum likelihood estimation.
Causal effect estimation with quantified uncertainty
Better integration between Arviz and Numpyro
Building a DSL for R-style generalized linear modeling in Numpyro.
Say you have a discrete distribution $\pi$ that you want to approximate with a small number of weighted particles. Intuitively, it seems like the the best ch...
If your GP kernel corresponds to an inner product in a low enough dimensional space, you can speed up inference by taking a weight space view.
In a k-Nearest Neighbor Gaussian Process, we assume that the input points $x$ are ordered in such a way that $f(x_i)$ is independent of $f(x_j)$ whenever…
Instead of representing the joint distribution of an object and landmarks’ locations with a multivariate Gaussian, we can use a particle filter.
A hands-on introduction to an old technique for simultaneous localization and mapping.
This post is about a technique that allows us to use variational message passing on models where the likelihood doesn’t have a conjugate prior. There will be...
Generative image models based on ordinary differential equations can be seen as forms of variational auto-encoders.
This notebook introduces Fully Independent Training Conditional (FITC) sparse variational Gaussian process model. You shouldn’t need any prior knowledge abou...
Say you’re trying to maximize a likelihood $p_{\theta}(x)$, but you only have an unnormalized version $\hat{p_{\theta}}$ for which…
The standard way of writing tests Julia is to write a test/runtests.jl file. Running Pkg.test() will when start a new Julia process that loads your package a...
Forget vim or emacs of VSCode. Jupyter is hands down the best editor out there. The literate programming support, complete with images and beautiful latex sn...
This blog is written using Jekyll and Github Pages. Jekyll is a static website generator, which converts directories of markdown files into pretty, hyperlin...
The Bayesian perspective offers a simple and elegant framework for tracking uncertainty in online optimization problems. In structured bandit settings, it na...
Error with standard Monte Carlo methods decreases as $O(n^{-1/2})$. Quasi Monte carlo methods have error that decreases as $O(n^{-1})$, as we demonstrate wit...
In my freshman year of college, I took an introductory differential equations class. That was nine years ago. I’ve forgotten pretty much everything, so I tho...
A mean field analysis of the gossip protocol shows that distributed consensus with CRDTs can happen in constant expected time.
Hop Lists are a novel retroactive set data-structure that allow for a branching timeline.