<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Sawan Kumar · blog</title><description>Notes on kernels, Gaussian processes, and probability.</description><link>https://savnkr.github.io/</link><item><title>Wavelets for images: 2-D, by hand and in code</title><link>https://savnkr.github.io/aboutme/blog/wavelets-for-images/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/wavelets-for-images/</guid><description>The 2-D wavelet transform that courses skip. One 2 × 2 block by hand, and why it is a tiny Fourier transform; why there are exactly three detail bands; a worked 4 × 4 example and a live 8 × 8 one; the band names settled; pyramid and standard decompositions; compression against the 8 × 8 DCT and denoising against an oracle blur, reported honestly; NumPy and PyTorch code checked against PyWavelets; what separable wavelets get wrong about direction and shifts; and where wavelets live in modern machine learning. Part 4 of Seeing in frequencies.</description><pubDate>Thu, 19 Nov 2026 00:00:00 GMT</pubDate></item><item><title>Fourier analysis, from first principles</title><link>https://savnkr.github.io/aboutme/blog/fourier-analysis-from-first-principles/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/fourier-analysis-from-first-principles/</guid><description>What a frequency is, why sinusoids and no other basis, how to derive any Fourier pair you need, why partial sums overshoot, and how to read the spectrum of an image. Part 1 of Seeing in frequencies: every step derived, with figures that run live on my own sketches.</description><pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate></item><item><title>The discrete Fourier world: sampling, aliasing, the FFT and the uncertainty principle</title><link>https://savnkr.github.io/aboutme/blog/the-discrete-fourier-world/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/the-discrete-fourier-world/</guid><description>What changes when signals are sampled and finite. The four Fourier transforms and the rule that links them, Poisson summation and the sampling theorem, aliasing in images and inside neural networks, the DFT and FFT computed by hand in 1-D and 2-D, leakage and windows, the DCT behind JPEG, and a proof that no signal is sharp in both time and frequency. Part 2 of Seeing in frequencies.</description><pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate></item><item><title>Wavelets, from first principles</title><link>https://savnkr.github.io/aboutme/blog/wavelets-from-first-principles/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/wavelets-from-first-principles/</guid><description>Windows that shrink as frequency grows; when such a transform can be inverted; Haar by hand; multiresolution analysis and the two-scale equation; the fast wavelet transform as a filter bank, and lifting; perfect reconstruction; vanishing moments and why they make signals sparse; Daubechies-4 solved by hand; denoising with a proof of the universal threshold; and what the discrete transform gets wrong. Part 3 of Seeing in frequencies.</description><pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate></item><item><title>Diffusion models from first principles</title><link>https://savnkr.github.io/aboutme/blog/diffusion-models-from-first-principles/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/diffusion-models-from-first-principles/</guid><description>Why adding noise and learning to remove it generates data. The forward process and its reverse step, why predicting the noise is a likelihood bound, Tweedie&apos;s formula and denoising score matching, the SDE and the probability-flow ODE, why sampling needs many steps, and what guidance really does. Every step derived, on a toy where everything is exact, next to a diffusion model trained on it.</description><pubDate>Thu, 29 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Flow matching: straight lines, curved flows</title><link>https://savnkr.github.io/aboutme/blog/flow-matching/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/flow-matching/</guid><description>Continuous normalising flows trained without simulating them. The continuity equation and the instantaneous change of variables; why regressing on straight lines between random pairs learns the right flow; why flow matching and diffusion are one model; why the learned paths still curve, and how optimal-transport pairing and reflow straighten them. Every step derived, with the exact flow of a toy next to three trained networks.</description><pubDate>Thu, 29 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Generative models, one map: what each family can compute</title><link>https://savnkr.github.io/aboutme/blog/generative-models-one-map/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/generative-models-one-map/</guid><description>The opener of a series that ends at one-step generators. What it means to learn a distribution; maximum likelihood as a KL divergence; change of variables and normalising flows; VAEs; GANs and their divergences, including MMD; energy-based models, the score and Langevin dynamics; autoregressive models. Every result derived step by step, and a flow, a VAE and a GAN trained on the same data to show how each one fails.</description><pubDate>Thu, 29 Oct 2026 00:00:00 GMT</pubDate></item><item><title>One-step generators: learn the jump, not the velocity</title><link>https://savnkr.github.io/aboutme/blog/one-step-generators/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/one-step-generators/</guid><description>Why one step of a perfect diffusion or flow model returns the data mean, and what to learn instead. The flow map and the three equations that pin it down; consistency models, shortcut models and MeanFlow as three ways of enforcing them; distribution matching, from DMD to drifting models. Every step derived, with seven one-step models trained on the same toy.</description><pubDate>Thu, 29 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Sparse variational Gaussian processes: Titsias, Hensman and what came after</title><link>https://savnkr.github.io/aboutme/blog/sparse-variational-gaussian-processes/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/sparse-variational-gaussian-processes/</guid><description>How a Gaussian process scales from thousands to millions of points without changing the model. Variational inference from scratch, inducing points, Titsias&apos;s collapsed bound, Hensman&apos;s stochastic version, how many inducing points you need, and the 2025 bounds that go beyond p(f | u). Every step derived.</description><pubDate>Thu, 29 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Fourier and wavelets on the sphere</title><link>https://savnkr.github.io/aboutme/blog/fourier-and-wavelets-on-the-sphere/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/fourier-and-wavelets-on-the-sphere/</guid><description>Why a flat FFT breaks at the poles, how spherical harmonics fix it, what Bochner&apos;s theorem becomes on a globe, and how needlets give a wavelet transform for the Earth. A from-scratch tutorial with proofs.</description><pubDate>Fri, 23 Oct 2026 00:00:00 GMT</pubDate></item><item><title>From Fourier to wavelets: putting non-stationarity in the basis</title><link>https://savnkr.github.io/aboutme/blog/fourier-to-wavelets/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/fourier-to-wavelets/</guid><description>Fourier features made Gaussian processes scale, but every sinusoid spans the whole domain. Wavelets are local in space and frequency. How that one change gives fast, non-stationary kernels, and what it does for global weather fields.</description><pubDate>Fri, 23 Oct 2026 00:00:00 GMT</pubDate></item><item><title>One operator I keep coming back to</title><link>https://savnkr.github.io/aboutme/blog/one-operator-i-keep-coming-back-to/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/one-operator-i-keep-coming-back-to/</guid><description>The Laplacian is everywhere: heat, diffusion models, Wasserstein gradient flows, Gaussian processes, spherical harmonics, wavelets, even music. A tour of the operator that asks how different you are from your neighbours.</description><pubDate>Fri, 23 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Deep Gaussian processes: stacking uncertainty</title><link>https://savnkr.github.io/aboutme/blog/deep-gaussian-processes/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/deep-gaussian-processes/</guid><description>What composing Gaussian processes buys and what it costs. If a composition of GPs is not a GP, how is anything computed? What does all the mathematics buy, what is new, and where are deep GPs still the right tool? Fundamentals first, every step derived, with a deep GP fitted and taken apart.</description><pubDate>Sat, 07 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Concentration inequalities: how far can an average stray?</title><link>https://savnkr.github.io/aboutme/blog/concentration-inequalities/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/concentration-inequalities/</guid><description>Markov, Chebyshev, Chernoff and Hoeffding from one picture, with step-by-step proofs, interactive figures, and the places they decide real numbers: sample sizes, generalisation bounds, random features and high-dimensional geometry.</description><pubDate>Sun, 07 Dec 2025 00:00:00 GMT</pubDate></item><item><title>The Gaussian toolkit: identities, linear-algebra moves and tricks</title><link>https://savnkr.github.io/aboutme/blog/gaussian-identities/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/gaussian-identities/</guid><description>The identities and moves that experts use without thinking and beginners struggle with: whitening, low-rank updates, Schur complements and spectra; moments, conditioning in both forms, KL, Stein, Bonnet and Price; total variance, the ELBO and Fisher information; and how all of it runs reinforcement learning. Each with a step-by-step proof.</description><pubDate>Sun, 07 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Kernels that output functions: matrix- and operator-valued kernels</title><link>https://savnkr.github.io/aboutme/blog/vector-valued-kernel-ridge-regression/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/vector-valued-kernel-ridge-regression/</guid><description>From one output to many to a whole function. Matrix-valued kernels, coregionalisation, the Kronecker trick, operator-valued kernels and their RKHS, and Gaussian processes that learn operators. Every step derived.</description><pubDate>Thu, 27 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Gaussian processes, from first principles</title><link>https://savnkr.github.io/aboutme/blog/understanding-gaussian-processes/</link><guid isPermaLink="true">https://savnkr.github.io/aboutme/blog/understanding-gaussian-processes/</guid><description>From Bayesian linear regression to kernels, exact conditioning, the marginal likelihood and a working implementation. Every step derived, nothing skipped; every idea interactive.</description><pubDate>Fri, 07 Jun 2024 00:00:00 GMT</pubDate></item></channel></rss>