Intermediate level · Module 1 of 8 · 12 guided hours
Machine Learning for Image Analysis
Classical machine learning for images at scale: feature pipelines with cross-validation, unsupervised colour clustering, dimensionality reduction to explore image datasets, and the limits that motivate deep learning.
Learning objectives
- Build reproducible feature-based image classification pipelines with cross-validation
- Use clustering and dimensionality reduction to explore image data
- Explain the limits of hand-crafted features
Topics
- feature pipelines and cross-validation
- k-nearest neighbours and SVM for images
- k-means colour clustering
- PCA for exploring image datasets
- splitting by source and avoiding leakage
- limits of hand-crafted features
Lessons
-
Lesson 1 Feature Pipelines and Cross-Validation for Images
Learners package feature extraction and classification into a scikit-learn pipeline and compare models with cross-validation on a standard dataset.
FunctionTransformerPipelinecross_val_scoreGridSearchCVFashion-MNIST
-
Lesson 2 Clustering and Exploring Image Data
Learners use k-means to group colours (for example separating vegetation, soil and water in an aerial photo) and PCA to visualise how well classes separate in a dataset.
k-means clusteringcluster centres as coloursPCA2-D projectionclass overlap
-
Lesson 3 The Limits of Hand-Crafted Features
Learners stress-test their best classical pipeline with rotations, scale changes, clutter and lighting, and identify why learned features (CNNs) are needed.
invariancerobustness testsclutter and occlusionlearned featuresrepresentation learning
Practical activity
Build, tune and stress-test a classical image classification pipeline, and write a short report that motivates the move to CNNs.
Expected outcomes
- Solid classical ML practice for images
- Clear understanding of why deep learning is needed
Assessment
Pipeline notebook (60%) and robustness report (40%).
Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.