Bridge: Python & Data Structures for AI
Python for data work, NumPy, and the data structures and algorithms every later subject assumes.
Five semesters, from an optional bridge to a solo capstone. Every subject is listed here with its credits and hours.
Optional refreshers in Python, mathematics and SQL before Semester 1. No credits.
Python for data work, NumPy, and the data structures and algorithms every later subject assumes.
Algebra, calculus, vectors and probability at school level, so Semester 1's mathematics lands on firm ground.
Tables, SELECT, joins and aggregation in SQLite, ready for Data Engineering & Databases.
Machine learning from first principles, with the linear algebra, calculus, probability and statistics it rests on, classical AI, and the data engineering every ML system needs.
Vectors, matrices, eigenvalues and the SVD, then gradients, Jacobians and the chain rule, computed in NumPy.
Probability, distributions, estimation and hypothesis tests, each result derived and then checked by simulation.
How machines learn from data, from linear models to ensembles and clustering, each method derived and built from scratch.
Search, logic, Bayesian networks and planning: the ideas AI was built on and modern agents still use.
The relational model, SQL, storage and indexing, and reproducible data pipelines for machine learning.
Neural networks and deep learning, optimisation and training at scale, sequence models and Transformers, and responsible AI. Every lab trains real models in PyTorch on one CPU core.
Backpropagation by hand, your own autodiff engine, then PyTorch, convolutions and residual networks.
Why training works and what it costs: SGD to Adam, schedules, mixed precision and parallelism.
From n-grams and recurrent networks to the Transformer, built piece by piece, with tokenisation and decoding.
Fairness, explainability, privacy and robustness as engineering, and how AI and personal data are governed.
Choose one track, language models or computer vision, and take its two Semester 3 subjects. Two electives, probabilistic ML and reinforcement learning, broaden the core.
Tokenisers, n-gram and neural language models, and text tasks across many languages and scripts.
A tokeniser, a pretraining corpus and a GPT-2-style model, trained and costed on one CPU core.
Camera models, filtering, features, homographies, stereo and optical flow, built in NumPy and SciPy.
CNNs and Vision Transformers, detection and segmentation, self-supervised learning and compression for a CPU.
Open to both tracks. 2 credits each.
Posteriors exact and approximate: Gaussian processes, variational inference, MCMC and calibrated uncertainty.
Bandits, temporal-difference learning, Q-learning, deep Q-networks and policy gradients, on environments you write.
Finish your track with its two Semester 4 subjects and run a solo capstone project in it, in five milestones from proposal to final report and viva.
Fine-tuning, reward models, PPO, GRPO and DPO, then an honest evaluation of what changed.
Search from first principles, retrieval-augmented generation that cites its sources, and agents that use tools safely.
Autoregressive models, VAEs, flows, GANs, diffusion and flow matching, each derived and built from scratch.
Image-text models, 3D reconstruction, radiance fields and world models, trained small on one CPU core.
A solo project in your track, in five graded milestones from proposal to report, demo and viva.
From text processing and tokenisation to training a small GPT from scratch, then post-training, alignment and evaluation, and building retrieval-augmented and agentic applications.
From image formation and classical vision to deep visual recognition, then generative models of images, and vision-language, 3D vision and world models.