Published onMarch 26, 2024Affine TransformsmathA perpetual pain point for people working on computer vision is dealing with affine transformations. This post provides a simple example of how to reason about them.
Published onJune 16, 2023RWKV Language Model MathmlnlpmathIn-depth explanation of the math behind the RWKV model, with PyTorch implementations, plus a discussion of numerical stability.
Published onSeptember 29, 2022PID Controller ExplaineralgorithmsmathSimple overview of what a PID controller is, how it works, and how to make one yourself.
Published onMay 20, 2020Optimized Log-Sum-Exp PyTorch FunctionmathA walkthrough of how to optimize the log-sum-exp function in PyTorch.
Published onApril 7, 2020HMMs and CRFsmlmathalgorithmsA comparison of Hidden Markov Models and Conditional Random Fields, two kinds of probabilistic graphical models.
Published onMarch 15, 2020Coding the Viterbi Algorithm in NumpymlmathA demo of how to code the Viterbi algorithm in Numpy.