Numerical Methods for Machine Learning: Course Notes#
Joe McEwen and Jesse Loi#
version 0.3 (the typo edition) 2025/26
Help! This is an early version of the notes, if you find an error, please let us know. Thank you.
- 1. What is this?
- 2. Guidance
- 3. Array Basics
- 4. Mathematics
- 5. Matrices
- 6. Fourier Analysis
- 7. Interpolation
- 8. Numerical Optimization
- 8.1. Introduction to Optimization via Linear Regression
- 8.2. Convex Functions and Optimization
- 8.3. The Nelder-Mead Algorithm, Downhill Simplex, or the Amoeba
- 8.4. Measuring the Temperature of the Universe with SciPy’s fmin
- 8.5. Particle Swarm and the Eggholder Challenge
- 8.6. Newton’s method for Root Finding
- 8.7. Newton’s Method for Optimization
- 8.8. Problems with the Hessian Matrix
- 8.9. Introduction to Gradient Descent
- 8.10. Gradient Descent in 1-Dimension
- 8.11. Gradient Descent with Momentum
- 8.12. The Levenberg-Marquardt Method
- 9. Neural Networks