Score Functions and Field Theory
A post on the connection between the score of a likelihood function and a (scalar) field from classical field theory. Scores and Fields Before talking about how a field is similar to a score, I’ll...
A post on the connection between the score of a likelihood function and a (scalar) field from classical field theory. Scores and Fields Before talking about how a field is similar to a score, I’ll...
A post on the Bradley Terry model with NFL game data. The Bradley Terry model: [\log{\frac{p_{ij}}{1 - p_{ij}}} = \beta_i - \beta_j] Is a classical model for ranking or preference data and is som...
This post shows a graph (“message passing” or “soft dictionary lookup”) interpretation of Attention. It combines two really great references on the topic that show that forward passes through trans...
A post covering how to complete matrix inversions in PyTorch using BLAS and LAPACK operations. This is particularly useful in Statistics for inverting covariance matrices to form statistical estima...
BoTorch is the python library behind the Ax engine I was using in my previous blog. I enjoyed making that post so much that I decided to take a deep dive into making custom models with the Model an...
Following this Distill post on Bayesian Optimization very closely, I wanted to recreate the gold finding toy example using Ax and BoTorch. Since the OP already gives a very in-depth explanation of ...
Rent vs. Buy Calculator Based off my previous post on rent vs buy, I have ported the code to dart and made a web UI in flutter. The flutter UI supports: Interactive rent vs buy calculation I...
This series of posts cover different types of distances and their invariant properties. This includes: Part 1: Euclidean distance Part 2: Mahalanobis distance Part 3: Spacetime interval Sp...
This series of posts cover different types of distances and their invariant properties. This includes: Part 1: Euclidean distance Part 2: Mahalanobis distance Part 3: Spacetime interval Co...
This series of posts cover different types of distances and their invariant properties. This includes: Part 1: Euclidean distance Part 2: Mahalanobis distance Part 3: Spacetime interval Ca...