Skip to content

Course materials

Data

File What it is
forest_analysis_dataset.csv 135 countries, each with its tree cover in 2000, its permanent and total loss over 2001–2024, and its mean GDP per capita at PPP. Built by the human-agentic-data-analysis vault from Global Forest Watch and World Bank sources, both CC BY 4.0, and copied here unchanged.

Scripts

File What it does
logistic_from_forest_data.py The three logistic-regression figures in lesson 1.5, fitted to the forest data: the probability scale, the log-odds scale, and the same fit with a squared term in log income. Prints every number the lesson quotes.
context_diagrams.py The two diagrams in lesson 2.1: what is in the agent's context window before you type, and what it does with a request.
figstyle.py The figure style the lesson notes use, as an importable module: size in centimetres, two spines, no grid, and the course palette.

Figures

File What it is
vault_in_obsidian.png The analysis vault open in Obsidian, as lesson 1.1 describes it: the report, the appendix and the agent's instructions alongside the folders for data and code.
human_in_the_loop.png What the overseer has had to absorb as systems changed, in lesson 1.1. Drawn for this course from sections 2.1 and 2.2 of Mitchell, Ghosh and Passi (2026); the script that builds it sits beside it in the vault.
forest_loss_vs_income.png Forest loss against income in lesson 1.4, data first with the fit on top.
annual_conversion_eight_countries.png Annual conversion for eight countries in lesson 1.4, chosen by a stated rule rather than by name.
annual_loss_four_european.png Annual loss for four European countries in lesson 1.4, chosen by name — the contrast with the figure above is the point.
logistic_probability.png Logistic regression on the probability scale in lesson 1.5, as a traditional course would introduce it. From logistic_from_forest_data.py.
logistic_likelihood.png Why the fitted curve is the one that maximises log-likelihood, in lesson 1.5. From logistic_from_forest_data.py.
logistic_logodds.png The same fit on the log-odds scale in lesson 1.5, where it is a straight line. From logistic_from_forest_data.py.
logistic_logodds_quadratic.png The log-odds fit with a squared term in log income, in lesson 1.5 — the straight line becomes a curve. From logistic_from_forest_data.py.
ushape_test_conditions.png The two conditions for an inverted U, drawn by the agent in lesson 1.6 and used again in lesson 1.5: the peak inside the observed income range, and the slope clearly positive at one end and negative at the other.

Slides

File What it is
1.1 Step by step working with AI.pptx The slides for lesson 1.1, in the lesson's own order: the analysis vault and the eight steps, the paper on human oversight and what the eight steps do about it, and what separates exploratory from confirmatory analysis.
1.5 Traditional statistics versus Agentic statistics.pptx The slides for lesson 1.5: how logistic regression is taught from the likelihood out, and how the same model is met from a question you care about with the fit already in front of you.