AI & Programming Foundations
Mathematics and Statistics for AI
F02 · Foundation
Entry requirements
F01 or equivalent Python skills
What 24 hours means
- Lessons
- 18 h
- Capstone
- 4 h
- Assessment
- 1 h
- Remediation
- 1 h
Syllabus
Four modules, twelve lessons. Every lesson states what it covers and the evidence you produce for it.
1Vectors and functions3 lessons · 4.5 h
- F02.01
Vectors and dimensions
90 minRepresent learners as feature vectors and check compatible matrix shapes.
Evidence: Correct dimensions for three matrix operations with explanations.
- F02.02
Matrix operations
90 minImplement dot products and transformations on a small dataset.
Evidence: Manual and notebook results agree within floating-point tolerance.
- F02.03
Functions and rates of change
90 minPlot linear and nonlinear functions; approximate slopes numerically.
Evidence: A slope plot and explanation of the effect of step size.
2Probability3 lessons · 4.5 h
- F02.04
Probability and conditional events
90 minCalculate conditional probabilities from a contingency table.
Evidence: All supplied probability checks pass and denominators are identified.
- F02.05
Distributions and simulation
90 minSimulate Bernoulli and normal data and compare empirical summaries.
Evidence: Plots and estimates distinguish sample variation from model assumptions.
- F02.06
Bayesian updating
90 minUpdate an event probability from a diagnostic observation.
Evidence: A worked posterior with explicit prior and likelihood assumptions.
3Statistical reasoning3 lessons · 4.5 h
- F02.07
Sampling and bias
90 minCompare random and convenience samples from a known synthetic population.
Evidence: A report showing the direction of bias and a better sampling plan.
- F02.08
Estimation and intervals
90 minBootstrap a mean and interpret uncertainty without treating it as certainty.
Evidence: A reproducible interval and a correct interpretation of its procedure.
- F02.09
Hypothesis testing
90 minCompare two groups; separate effect size from statistical significance.
Evidence: A test report with assumptions, effect size and practical relevance.
4Optimisation3 lessons · 4.5 h
- F02.10
Loss functions
90 minCompute squared error and cross entropy for supplied predictions.
Evidence: Correct loss calculations and a reasoned choice for each task.
- F02.11
Gradient descent
90 minImplement updates for a one-feature regression problem.
Evidence: A decreasing loss trace and a diagnosis of an excessive learning rate.
- F02.12
Statistics review
90 minAudit a misleading AI performance claim using sample size and uncertainty.
Evidence: A corrected conclusion with at least three justified caveats.
Capstone
Analyse a synthetic learning-outcome dataset and compare two interventions without overstating causality. Submit calculations, plots, uncertainty estimates and a decision memo.
Lab environment
CPU notebook
Lab infrastructure is not yet provisioned, so this describes the environment the course is designed for rather than one you can launch today.