A from-scratch guide to machine learning — classical algorithms, neural networks, transformers, vision, and agents.