Machine learning is the technology behind skin cancer diagnosis that rivals dermatologists, Go programs that defeat world champions, and spam filters that adapt faster than rule-writers can keep up. This two-part collection builds the complete conceptual and mathematical foundation. The first part traces the history of AI — from the Dartmouth optimism to the AI winters and the statistical turn — and explains the three ingredients (data, compute, algorithms) that made modern ML possible. The second part develops the supervised learning framework from first principles: feature vectors, the model as a parameterised function, loss functions (MSE, cross-entropy), gradient descent, and the bias-variance tradeoff.