Schedule
Materials for each session appear below after the Monday it is taught.
| # | Date | Session | Part | Materials |
|---|---|---|---|---|
| 01 | Sep 14 | Your first program, and the machine underneathWorkshop: open the editor, make a file, run it — with the play button | Python | Slides·PDF·Workshop |
What a program is, and what happens when you run one. Files and folders. The editor, and the three parts of it you need. Your first error, and how to read it. WorkshopOpen the editor, make a file, type a one-line program, run it. Then four small programs and one error on purpose. No terminal, no commands to type — you use the play button. BringA charged laptop, and your Nuvolos enrolment done before you arrive. | ||||
| 02 | Sep 28 | Values, names, and expressionsWorkshop: read-and-predict in Wooclap, then small programs to write | Python | Slides·PDF·Questions·Solutions |
What values are, what their types allow, and why the computer's arithmetic sometimes surprises us: str, int, float, bool and None; names and assignment; the arithmetic operators and their order; floats and money; converting between types; reading an error. WorkshopShort read-and-predict questions in Wooclap, then small programs to write on the same ledger. Optional extra practice for home. Go further (optional)
| ||||
| 03 | Tue Sep 29 | Lists, loops, and decisionsWorkshop: read-and-predict in Wooclap, then small programs to write | Python | Slides·PDF·Questions·Solutions |
Tuesday 29 September, 10:15–14:00, Internef 263 — the make-up for 21 September. Many values under one name, work that repeats, and programs that choose: lists, indexing and slicing; for and while loops; if, elif and else; dictionaries. WorkshopShort read-and-predict questions in Wooclap, then small programs to write on the same ledger. Optional extra practice for home. Go further (optional)
| ||||
| 04 | Oct 5 | Functions, methods and modulesWorkshop: read-and-predict in Wooclap, then small programs to write | Python | Slides·PDF·Questions·Solutions |
Calling functions and writing your own: WorkshopRead-and-predict in Wooclap: print is not return, two variables called total, a function that changes your list, the weight that lies. Then functions to write for the ledger: position values and a total, a fee with defaults, years to reach a target, a new method for Position. Go further (optional)
| ||||
| 05 | Oct 12 | Reading data codeWorkshop: read-and-predict in Wooclap, then small programs to write | Python | Slides·PDF·Questions·Solutions·Slicing in pictures |
Nested data, one-line loops, and the two libraries all data science in Python is built on: data inside data, comprehensions, lambda, numpy arrays, and pandas tables. WorkshopShort read-and-predict questions in Wooclap, then small programs to write on the same ledger. Optional extra practice for home. | ||||
| 06 | Oct 19 | Files in, files outWorkshop: read ledger.csv, write report.txt — the whole pipeline | Python | Slides·PDF·Questions·Solutions·Midterm review |
The working directory; reading and writing files; CSV; a complete load → compute → write script; WorkshopRead ledger.csv, write report.txt — the whole pipeline. | ||||
| 07 | Oct 26 | Git from zero, and the midterm review | Python | Slides·PDF·Mock midterm answers |
Part 1: git, to keep every version of your work and check what an assistant changed (not on the midterm). Part 2: sessions 1–6 revisited, how the midterm works, and practice items in the same forms as its questions: what does this print, which line does not follow the brief, which kind of failure, is this output plausible. | ||||
| 08 | Nov 2 | Midterm — on Moodle, in class | Exam | on Moodle, your own laptop, proctored |
Held on Monday 2 November. Your grade and points are in Moodle (Grades). Students excused by the Master's office take the make-up; the date and the review session are announced on Moodle. | ||||
| 09 | Nov 9 | Fitting a line | Data science | Slides·PDF·Solutions·Workshop slides |
How much does a share move when the market moves? Measure it with a straight line, judge how good the line is, and find it a second way, step by step. Then two more ideas — several inputs at once, and a model that fits too well. | ||||
| 10 | Nov 16 | Classification | Data science | Slides·PDF·Solutions·Workshop slides |
Which days are bad for Apple? Teach the computer to answer yes or no with k nearest neighbours, logistic regression, decision trees and random forests, each also built by hand. Then judge the answers with the confusion matrix, recall, precision, the ROC curve and AUC. | ||||
| 11 | Nov 23 | Learning without labels | Data science | Slides·PDF·Workshop slides |
Which stocks move together, and is the ledger diversified? Find groups and hidden factors in data that come with no answers - k-means, Gaussian mixtures, hierarchical clustering, DBSCAN and PCA. | ||||
| 12 | Nov 30 | Data science IV | Data science | — |
The topic appears here when the session is ready. | ||||
| 13 | Dec 7 | Data science V | Data science | — |
The topic appears here when the session is ready. | ||||
| 14 | Dec 14 | Data science VI — wrap-up and mock final | Data science | — |
A look back over the whole course, and a mock final exam to practise the format. | ||||
| — | Jan | Final exam — written, exam session | Exam | date set by the faculty |
Sessions 10–14 are the data-science part. Each topic appears here when the session is ready.
How workshops work
Lectures teach the language. In every workshop you run the same six steps, with an AI assistant of your choice:
- Framesay what you want, in plain words
- Askgive that brief to your AI assistant
- Runrun what it wrote
- Readfind the lines that do the real work
- Judgedecide whether to believe the output
- Keepcommit what works
Grading
| Midterm | 1/3 | Nov 2, on Moodle, multiple choice + other types |
| Final exam | 2/3 | exam session, on Moodle, multiple choice + other types |
Details, scoring rules, and the binding study-plan terms: Assessment.
Teaching team
Questions about the course go to the teaching assistants first. Questions about your registration or your grade record go to the Master's office, not to us.