Lesson 4.1 ยท Stage 04: Machine learning

Machine learning algorithms: the full map

The 30 algorithms that cover most real work, the order to learn them in, and a wider reference list grouped by task.

Published 27 November 2026

There is no fixed count of machine learning algorithms. New ones are published all the time, and many are small variations of older ones. This page gives you two things: the short list worth learning properly, and a longer reference list so that an unfamiliar name is easy to place.

The 30 that cover most real work

Regression and classification on tables of data

Most business machine learning is done on tables: rows of customers, orders or sensor readings.

  1. Linear regression
  2. Logistic regression
  3. Ridge and Lasso (linear models with regularisation)
  4. Decision tree
  5. Random forest
  6. Gradient boosting: XGBoost, LightGBM, CatBoost
  7. k-nearest neighbours
  8. Naive Bayes
  9. Support vector machine

Clustering and other unsupervised methods

  1. k-means
  2. Hierarchical clustering
  3. DBSCAN
  4. Gaussian mixture models (fitted with expectation maximisation)
  5. PCA
  6. t-SNE and UMAP (for visualisation)

Anomaly detection

  1. Isolation forest
  2. One-class SVM and local outlier factor

Association and recommendation

  1. Apriori and FP-Growth
  2. Collaborative filtering and matrix factorisation

Time series

  1. ARIMA and SARIMA
  2. Exponential smoothing (Holt-Winters)
  3. Prophet

Deep learning

  1. Multilayer perceptron (a feedforward neural network)
  2. CNN, for images
  3. LSTM and GRU, for sequences
  4. Transformer, for text and now most other data
  5. Autoencoder
  6. Diffusion models, for generating images and audio

Reinforcement learning

  1. Q-learning and DQN
  2. PPO

Two optimisers sit underneath most of the list: stochastic gradient descent with momentum, and Adam (or its variant AdamW).

The order to learn them in

Learn these ten first, in this order:

  1. Linear regression
  2. Logistic regression
  3. Decision tree
  4. Random forest
  5. Gradient boosting (XGBoost)
  6. k-means
  7. PCA
  8. Multilayer perceptron
  9. CNN
  10. Transformer

Each one introduces an idea the next one builds on. Once these ten are solid, most of the other twenty are variations you can pick up quickly.

The wider reference list

Use this section as a lookup. You do not need to learn everything here.

Task Algorithms
Regression Linear regression, Ridge, Lasso, Elastic Net, polynomial regression, Bayesian regression, generalised linear models, support vector regression, decision tree regression, random forest regression, gradient boosting, k-NN regression, Gaussian process regression, neural network regression
Classification Logistic regression, Naive Bayes (Gaussian, multinomial, Bernoulli), k-nearest neighbours, support vector machine (linear and RBF kernel), decision trees (CART, ID3, C4.5), random forest, extra trees, AdaBoost, gradient boosting, linear and quadratic discriminant analysis, perceptron, multilayer perceptron
Clustering k-means, k-medoids, mini-batch k-means, hierarchical (agglomerative and divisive), DBSCAN, HDBSCAN, OPTICS, mean shift, Gaussian mixture models, spectral clustering, BIRCH, affinity propagation
Dimensionality reduction PCA, kernel PCA, incremental PCA, SVD and truncated SVD, non-negative matrix factorisation, ICA, LDA (topic modelling), t-SNE, UMAP, autoencoders, factor analysis, MDS, Isomap, LLE
Anomaly detection One-class SVM, isolation forest, local outlier factor, elliptic envelope, autoencoder reconstruction error
Association and recommendation Apriori, FP-Growth, Eclat, collaborative filtering (user-based and item-based), matrix factorisation (ALS, SVD++), factorisation machines
Time series AR, MA, ARMA, ARIMA, SARIMA, ARIMAX, exponential smoothing (Holt-Winters), Prophet, VAR, GARCH, LSTM and GRU models, temporal fusion transformers, N-BEATS
Semi-supervised and self-supervised Label propagation, label spreading, self-training, co-training, contrastive learning (SimCLR, MoCo, CLIP), masked modelling (BERT, MAE), next-token prediction
Reinforcement learning Q-learning, SARSA, DQN, double and dueling DQN, policy gradient (REINFORCE), actor-critic (A2C, A3C), PPO, TRPO, DDPG, TD3, SAC, Monte Carlo tree search, multi-armed bandits (UCB, Thompson sampling)
Ensemble methods Bagging, boosting, stacking, voting, blending, random subspace
Probabilistic and graphical models Hidden Markov models, Bayesian networks, Markov random fields, conditional random fields, Kalman filter, variational inference, MCMC
Model selection Cross-validation, grid search, random search, Bayesian hyperparameter search, AutoML, neural architecture search, feature selection (RFE, chi-square, mutual information)

Less common supervised methods

You will meet these names in papers and older textbooks:

  • Instance-based: weighted k-NN, radius neighbours, learning vector quantisation.
  • Rule-based: OneR, ZeroR (a baseline that always predicts the majority class), RIPPER, decision stump.
  • Kernel-based: kernel ridge regression, relevance vector machine, kernel perceptron.
  • Discriminant analysis variants: regularised, flexible and mixture discriminant analysis.
  • Ensemble variants: stochastic gradient boosting, histogram-based gradient boosting, NGBoost, rotation forest.

What comes next

Deep learning gets its own page: Deep learning architectures and how networks are trained.