AI→ML
Learning Path · Classical Machine Learning

From Artificial Intelligence to Machine Learning

A rigorous, progressive curriculum for a computer-science graduate — built on the principle of understanding why before how. We travel from the definition of AI to implementing core ML algorithms from scratch, and we deliberately stop at the edge of Deep Learning.

29 lessons 8 modules 12 live · new lessons in progress Scope: AI landscape → Classical ML Tools: NumPy · Pandas · Matplotlib · Scikit-learn
How to read this roadmap

Lessons are ordered so that each concept is a prerequisite for the next. Badges tell you what to expect: Ready means the lesson is written and linked; From scratch means we build the algorithm in raw NumPy before touching Scikit-learn; Planned means it's on the path and I'll generate it when you reach it.

What you'll be able to do at the end

Part I · The AI Landscape

Before any algorithm, you need the map: what AI is, the approaches people have tried, and where Machine Learning fits.

Part II · The Machine Learning Mindset

The conceptual core that every algorithm later reuses — plus just enough tooling and math to be dangerous.

Part III · Supervised Learning — Regression

Predicting numbers. We start here because Linear Regression is the cleanest possible instance of the whole ML machine.

Part IV · Supervised Learning — Classification

Predicting categories. The workhorse family of classical ML — five algorithms, each teaching a different idea.

M4

Classification

Supervised
  • 14The classification problem & Logistic RegressionFrom scratch
  • 15k-Nearest Neighbors — the laziest learnerFrom scratch
  • 16Decision Trees — learning if/else from dataFrom scratch
  • 17Naive Bayes — classification with probabilityPlanned
  • 18Support Vector Machines — margins & the kernel trick (intuition)Planned

Part V · Evaluating & Improving Models

The skills that separate someone who calls .fit() from someone who can be trusted with a model.

M5

Model Evaluation

Methodology
  • 19Train/validation/test, cross-validation & data leakagePlanned
  • 20Metrics — accuracy, precision/recall, F1, ROC/AUC, regression metricsPlanned
  • 21Hyperparameter tuning & model selectionPlanned

Part VI · Ensemble Methods

Why many weak models beat one clever model — the ideas behind the algorithms that win competitions on tabular data.

M6

Ensembles

Supervised
  • 22Bagging & Random ForestsPlanned
  • 23Boosting — AdaBoost, Gradient Boosting, XGBoost intuitionPlanned

Part VII · Unsupervised Learning

Finding structure when there are no labels — clustering and dimensionality reduction.

M7

Unsupervised

No labels
  • 24k-Means clusteringFrom scratch
  • 25Hierarchical clustering & DBSCANPlanned
  • 26Dimensionality reduction & PCAPlanned

Part VIII · Putting It Together

End-to-end practice, and an honest look at the boundary where classical ML hands off to Deep Learning.

M8

Practical ML & Capstone

Integration
  • 27Feature engineering & Scikit-learn pipelinesPlanned
  • 28A full end-to-end project, start to finishPlanned
  • 29Where classical ML ends & Deep Learning begins — and how to continuePlanned

Scope: deliberately stopping at Machine Learning

Per your goal, this path ends at classical ML. Deep Learning, neural networks, computer vision, NLP, reinforcement learning, and generative AI/LLMs are mentioned only to place ML in the wider landscape (Lessons 1, 3, and 29). Your mathematical foundations are handled separately at university — here, math appears only when it clarifies an idea.

Next step

New here? Start with Lesson 1 — What Is Artificial Intelligence?. Everything else is built on the mental map it gives you.

Already working through it? The most recent lesson is Lesson 12 — Multiple & Polynomial Regression: we widen the model to many features (the vectorized machinery fits them unchanged), make feature scaling a first-class step, and bend the line into curves with polynomial features — still linear in their parameters — all from scratch in NumPy. Next, Lesson 13 tackles overfitting, the bias–variance trade-off, and regularization.