Recent Posts

Topic Extraction (Old and New)

How do you find thematic clusters in a large corpus of text documents? There are the standared algorithms baked into sklearn: k-means, nonnegative matrix fac...

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.

Converting Dataframes to Pytrees

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

Advent Of Code

I’ve been playing Advent of Code this year. I started writing solutions in R, but soon realized I was better served by a more general purpose language. Julia...