
Length Contraction
A follow up from my previous post on time dilation to explain length contraction. Consider a rocket ship traveling between two planets, $A$ and $B$. There is an observer on planet $A$ that observes...

A follow up from my previous post on time dilation to explain length contraction. Consider a rocket ship traveling between two planets, $A$ and $B$. There is an observer on planet $A$ that observes...

A derivation of time dilation from Modern Physics 3rd Edition Section 1.5. Experimental Setup A moving observer on a train moving with speed $v$. A stationary observer that is not on the trai...

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

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