machine-learning
2 posts — newest first.
-
Gradient Descent Is a Reconciliation Loop With a Derivative
Training a model is observe, diff, act, repeat. Forty lines of stdlib Python fit a line, check the gradient, and show what a bad learning rate does.
-
Floating Point and Numerical Precision: Why 0.1 + 0.2 ≠ 0.3, and Why ML Cares
Floating-point errors aren't random. Why 0.1 + 0.2 ≠ 0.3, and how the same fundamentals drive the FP32 → BF16 → FP8 march behind affordable LLMs.