L2 Regularization Formula Explained
The L2 regularization formula adds a squared-magnitude penalty to the loss function. Here’s what each term means, with a worked numeric example.
Read more →Notes on data engineering, AI and building things end to end.
The L2 regularization formula adds a squared-magnitude penalty to the loss function. Here’s what each term means, with a worked numeric example.
Read more →
L1 and L2 get all the attention, but the L0 norm is the most direct way to penalize model complexity. Here’s what it actually is, and why L1 approximates it instead.
Read more →
A query scanning a billion rows to find last week’s data is doing unnecessary work. Here’s how table partitioning strategies fix that, and how to pick the right key.
Read more →
Two records for the same customer, entered slightly differently, don’t announce themselves as duplicates. Here’s how data deduplication techniques actually handle that, with a real project example.
Read more →
A single random seed can make a model look better or worse than it really is. Here’s why random seed reproducibility matters more than one lucky training run.
Read more →
Supervised vs unsupervised learning comes down to one question: does your data already have the answer attached? Here’s how each works, with real project examples.
Read more →
A model that looked good offline can still fail in production. Here’s blue-green vs canary deployment, two ways to roll out a new model version safely.
Read more →
A test catches a known rule violation. It won’t catch a table that quietly stopped updating. Here’s data observability vs data quality testing, and why both matter.
Read more →
A wrong number on a dashboard raises a question: where did it come from? Here’s what data lineage in data engineering actually tracks, and how dbt provides it almost for free.
Read more →
Reprocessing a full table works until it doesn’t. Here’s change data capture vs batch ETL, when each is the right fit, and a real project example of batch done well.
Read more →