solulubeta
Sign in
Module 08

Machine Learning

From the maths to transformers — the ML you need for data science, ML engineering and AI roles.

A math-first path through machine learning. Start with the linear algebra, calculus and probability that everything rests on, then classical models, neural networks, transformers and large language models, and finish with how ML systems are designed and run in production. Every topic ends with the interview questions it usually generates.

  • Derive gradient descent, linear and logistic regression and backpropagation yourself
  • Pick the right model and metric for a problem and explain bias, variance and regularisation
  • Explain CNNs, RNNs, attention and transformers, and how LLMs are trained and fine-tuned
  • Design an ML system end to end — data, features, training, serving and monitoring
24
topics
6
free to start
~1h
of study
01

Math foundations

Linear algebra, calculus, probability and optimisation — only what ML actually uses.

02

Classical machine learning

Regression, classification, trees and ensembles, evaluation, unsupervised learning.

02.01 · Lesson

Linear Regression

The first model everyone learns: the hypothesis, mean squared error, the normal equation, gradient descent, assumptions and interpreting coefficients.

3 min Free
02.02 · Lesson

Logistic Regression and Classification

Predicting probabilities with the sigmoid, the decision boundary, binary cross-entropy, softmax for many classes, and choosing a threshold.

3 min
02.03 · Lesson

Bias, Variance, Overfitting and Regularisation

Why models underfit or overfit, the bias–variance decomposition, learning curves, cross-validation, and L1/L2, dropout and early stopping.

3 min
02.04 · Lesson

Evaluation Metrics

Confusion matrix, precision, recall, F1, ROC-AUC vs PR-AUC, metrics for imbalanced data, regression metrics and ranking metrics.

3 min
02.05 · Lesson

Decision Trees, Random Forests and Gradient Boosting

How trees split with Gini and entropy, why single trees overfit, bagging and random forests, boosting with XGBoost/LightGBM, and feature importance.

3 min
02.06 · Lesson

Support Vector Machines and k-Nearest Neighbours

Maximum-margin classifiers, soft margins and the hinge loss, the kernel trick, and the instance-based k-NN with its curse of dimensionality.

3 min
02.07 · Lesson

Unsupervised Learning: Clustering and PCA

k-means and how to choose k, hierarchical clustering and DBSCAN, principal component analysis step by step, and anomaly detection.

3 min
02.08 · Lesson

Data Preparation and Feature Engineering

Cleaning data, handling missing values and outliers, encoding categories, scaling, building features, class imbalance, and avoiding leakage with pipelines.

3 min
03

Deep learning

Neural networks, backpropagation, training tricks, CNNs and RNNs.

04

Transformers & LLMs

Attention, transformers, pretraining and fine-tuning, embeddings and RAG.

05

ML system design

Designing, deploying and monitoring ML in production.