Materials for two modules of the specialisation course in Artificial Intelligence and Big Data, taught together as one path:
- SAA · Machine Learning Systems: how models learn from data, how they are trained, and how to tell whether they really work.
- PIA · AI Programming: building software with AI: Python and its tooling, language models, retrieval, agents, deployment and automation.
A Spanish translation is maintained by NainIglesias.
The year in fifteen stages. The chart and the table's last column estimate when the group works on each one: follow those dates rather than the stage numbers, since stages of the two modules overlap. The dates are estimates, not deadlines. Only the exams are fixed: the other dates move with how the group progresses, each week's work is presented in the weekly session and in the forum post after it, and every change is made on this page. Materials are usually published well before they are needed, and you can always go ahead. If an exercise takes you longer, as numpy-mnist may if you are new to programming, finish it with your AI coding assistant, make sure you understand every line it writes, and move on with the group: the next stage doesn't wait.
Each stage belongs to one module: if you take only one, follow its rows, plus two of the other's. PIA's stage 6 needs SAA's note Language models from the outside (standard), from stage 2, and PIA's stage 11 needs SAA's stage 10.
Each stage links its topic: a README with the stage's path, to work through in order. The path marks the tier of each item. Core items (★) are the key ideas, the ones the materials emphasise; standard items, unmarked, are the rest of the path. Core and standard items are both the course: any of them can come up in the exams, in the quiz or in the practical part. Complementary items are optional and never assessed: support reinforces the basics, and a deep dive goes further. Items marked (coming) are being written, and are linked when they are ready.
| 🟦 SAA · Machine Learning Systems 🟧 PIA · AI Programming | |||
|---|---|---|---|
| # | Stage | Topic | Estimated dates |
| Term 1 | |||
| 1 | 🟧 Getting started | Setting up: your tools, your fork of numpy-mnist, and your GitHub username in the aula virtual | 14–25 Oct |
| 2 | 🟦 What AI and machine learning are | The map of the year: each family of models, seen from the outside | 19–25 Oct |
| 3 | 🟧 Python for AI | Why Python rules AI, although it is slow | 19 Oct – 1 Nov |
| 4 | 🟧 Working with data | Python data essentials: NumPy for arrays and pandas for tables | 26 Oct – 6 Dec |
| 5 | 🟦 Supervised learning | Supervised learning: regression, classification, and how to tell whether a model really works; Data preparation after its part 3 | 9 Nov – 31 Jan |
| 6 | 🟧 Building with language models | Local and remote models, prompts, structured output, testing a component that uses a model (coming) | 7 Dec – 17 Jan |
| Christmas | 22 Dec – 7 Jan | ||
| 7 | 🟧 Serving models | A model behind a web API and a demo, in a container, deployed (coming) | 18–31 Jan |
| February exams | Term 1 (stages 1–7) | 🟦 SAA Tue 2 Feb 🟧 PIA Thu 4 Feb | |
| Term 2 | |||
| 8 | 🟦 Neural networks | How a network learns, networks for tables, convolutional networks, reusing a pretrained network (coming) | 1–28 Feb |
| 9 | 🟧 Agents and MCP | Tool calling, agents that use tools safely, and MCP, a standard way to connect models to tools (coming) | 1 Feb – 21 Mar |
| 10 | 🟦 How language models work | From words as counts to embeddings, attention and transformers (coming) | 15 Mar – 4 Apr |
| Easter | 22–29 Mar | ||
| 11 | 🟧 Retrieval-augmented generation (RAG) | A model's answers grounded in your own documents, citing their sources (coming) | 30 Mar – 18 Apr |
| 12 | 🟧 Automation and business | AI systems that run on their own, and whether they are worth it (coming) | 19 Apr – 2 May |
| 13 | 🟦 Unsupervised learning | Clustering, dimensionality reduction and anomaly detection (coming) | 26 Apr – 16 May |
| 14 | 🟧 Vision and voice with pretrained models | Computer vision: OpenCV, YOLO, CLIP embeddings and a face-authentication app. Voice: speech to text and text to speech (coming) | 10–23 May |
| 15 | 🟦 Reinforcement learning | Learning from rewards: agents, environments and Q-learning | 10–23 May |
| May exams | The whole year (stages 1–15) | 🟦 SAA Mon 24 May 🟧 PIA Wed 26 May | |
| June exams | The whole year (stages 1–15) | 🟦 SAA Thu 10 Jun 🟧 PIA Mon 14 Jun | |
- Follow the roadmap by its estimated dates, from stage 1, which sets up your tools. Each stage has a topic: open its README and work through its path in order. Run
git pullto get each topic as it is published. - Plan about 10 hours a week for both modules, the weekly session included; they alternate in blocks.
- Practise. Reading and running is not enough: build the projects below, and try the practice tasks that some topics and worked examples suggest. Practice is never graded, and it is the best preparation for the exams.
Public repositories that you fork and build on through the year, step by step. More may be added as the year goes.
| Project | Module | What you build | Starts |
|---|---|---|---|
| numpy-mnist | PIA | Images as NumPy arrays, with Git, tests and continuous integration. Keep your solutions: they come back later in the year | Fork it in stage 1, and solve its exercises in stage 4 |
| Regulations assistant | PIA | An assistant that helps a teacher answer students' questions about vocational-training regulations, citing the articles in force | Stage 4, at the end of Python data essentials |
| Property valuation | SAA | An estimate of the price of a home from real listings, and of how far each estimate can be trusted | Stage 5, after notebook 4 of Supervised learning |
The two larger projects are built by the whole group, one step at a time:
- Each step is called for in the weekly forum post, with what to do and the check that shows it is done. Ask your questions in the forum or in the weekly session.
- Work in your fork, and open a pull request with your solution, saying in its description which step it answers (how). It is your submission: it receives feedback and is never graded, though once accepted it counts as a contribution.
- The teacher's solution comes with the next step, with the good pull requests merged into it or instead of it. Bring it into your fork before you start the next step (how).
The practical part of each exam works on these repositories.
Each module is graded on its own, from in-person exams. February covers term 1: it is a compulsory rehearsal, and it can raise your grade, never lower it. May covers the whole year and gives your grade, and June is a second chance. Each exam has a quiz and a practical part on the projects. Accepted contributions can add up to 2 points to a module you have passed. Dates and rules: How you are assessed.
If you find an error or something unclear, open an issue; if you can fix it, send a pull request. How, and how contributions count: Improving the course materials.