Advanced · module A2
Unsupervised Learning and Applied Machine Learning
By the end: Apply clustering, dimensionality reduction and anomaly detection, and build recommenders and forecasts
- Covers
- Finding structure without labels, and the specialised problems of recommendation, time series and limited labels
- Contents
- 4 chapters, 15 topics
- Time
- About 3 hours
- Level
- Advanced
- Your progress
- 0 / 15
This module builds on Supervised Machine Learning in Depth. We suggest looking at it first, but the choice is yours.
Chapter 1 Clustering
- 1.115 minBeing written
k-Means in Depth
k-means++, the elbow method and silhouette scores
Code: k-means from scratch
J = Σ‖x − μₖ‖²
- 1.210 min Activity
- 1.312 min Activity
- 1.415 min Activity
Gaussian Mixture Models and EM
Soft clustering and the expectation-maximisation algorithm
Code: fit a mixture
p(x) = Σπₖ N(x|μₖ,Σₖ)
Chapter 2 Dimensionality Reduction
- 2.115 min Read Activity
Principal Component Analysis
Variance, covariance, eigenvectors and choosing components
Code: PCA from scratch
- 2.212 minBeing written
t-SNE and UMAP
Visualising high-dimensional data, and how not to misread it
Code: visualise digits
- 2.310 minBeing written
Other Methods
ICA, NMF and autoencoders for compression
Code: compare methods
Chapter 3 Patterns and Anomalies
- 3.115 min Activity
Anomaly Detection
Statistical methods, isolation forest, one-class SVM and LOF
Code: detect fraudulent transactions
- 3.212 min Activity
Association Rules
Support, confidence, lift, Apriori and FP-Growth
Code: market basket analysis
lift = conf(A→B) / supp(B)
Chapter 4 Applied Machine Learning
- 4.118 minBeing written
Recommender Systems
Content-based filtering, collaborative filtering and matrix factorisation
Code: a film recommender
R ≈ UVᵀ
- 4.218 min Activity
Time Series Forecasting
Trend, seasonality, stationarity, ARIMA and machine-learning forecasters
Code: forecast monthly demand
- 4.312 min Activity
- 4.415 minBeing written
Feature Engineering at Scale
Domain features, interactions, target encoding and feature selection
Code: improve a model with features
- 4.510 minBeing written
AutoML
Automated model search and its limits
Lab: compare AutoML with a hand-built model
- 4.620 minBeing written
Module Review and Assessment
Coding tasks and a scored quiz
Graded assessment