Lessons
About this phase
Before neural networks, there is learning itself: a model is a function chosen from a hypothesis space to minimize a loss on data, and everything else — generalization, overfitting, regularization, validation — follows from that one idea. This phase builds the full classical toolkit on that foundation. You will derive linear and logistic regression (and discover they are one-layer neural networks), meet k-nearest neighbors (the ancestor of every vector-search system), learn to evaluate models honestly with metrics, cross-validation and the bias–variance decomposition, and understand regularization as geometry and as Bayesian prior. Then the workhorses: Naive Bayes, decision trees, random forests and gradient boosting (still the state of the art on tabular data), support vector machines and kernels, clustering with k-means and mixture models, and dimensionality reduction with PCA, t-SNE and UMAP. The phase closes with feature engineering, data-centric practice and a complete end-to-end project in scikit-learn. These ideas are not a detour on the way to deep learning: cross-entropy, embeddings, retrieval, evaluation and regularization all return, unchanged, in Phases 4–10.
By the end you can
- Frame any learning problem as empirical risk minimization, choose a sensible loss and validation protocol, and recognize overfitting, underfitting and leakage
- Derive and implement linear regression, logistic/softmax regression, kNN and Naive Bayes from scratch, and explain each as a special case of ideas used later in deep learning
- Evaluate classifiers and regressors with the right metrics (precision/recall/F1, ROC and PR curves, log loss, RMSE), k-fold and nested cross-validation, and the bias–variance decomposition
- Explain regularization three ways — constrained optimization, shrinkage, and Bayesian priors — and tune it
- Train, tune and interpret decision trees, random forests, gradient-boosted trees and SVMs, and know when each wins
- Use clustering and dimensionality reduction to explore data and embeddings, and deliver an end-to-end tabular ML project with scikit-learn