Technical AIintermediateVideo + quiz

Classical Machine Learning from Scratch: Build Regression, Trees and Clustering in NumPy

Build the classic machine learning models yourself in NumPy, then meet them again in scikit-learn.

20 lessons · 1.5 hours
Watch the first lesson freeWelcome · 4 min

Sign in to watch one lesson from this course free.

What you will be able to do

Frame a prediction problem and build honest features and baselinesFit linear, ridge, logistic and softmax regression from scratchBuild k-nearest neighbours, a decision tree, k-means and PCA in NumPyMatch every model against scikit-learn 1.9 and evaluate it fairly

About this course

Build the classic machine learning models yourself in NumPy, then meet them again in scikit-learn. Frame a problem, build features by hand, fit linear regression with the normal equation and with gradient descent, regularise it, then build logistic and softmax regression, evaluation by hand, k-nearest neighbours, a decision tree, k-means and PCA. Every model is checked against scikit-learn 1.9 on the same data. The free lab builds Pennyrigg Loop’s resale price and sells-in-14-days models from scratch. Course 4 of the Zero to ML Engineer path.

Technical AI

Curriculum

3 modules · 20 lessons · 1.5h

Requirements

NumPy arrays and matrix multiplication
Gradient descent and cross-entropy
Python 3.14 and free tools via uv

What you walk away with

A Yallo AI Academy certificate of completion, issued when every lesson is complete and the final assessment is passed at 70% or aboveA public verification page, so a stranger can check the certificate without asking you for a filePDF download, and a one-click share to your LinkedIn profile

Yallo AI Academy certifies completion of

Classical Machine Learning from Scratch: Build Regression, Trees and Clustering in NumPy