Codes follow the 2027 guide (A1–A4 and B1–B4). HL-only stages are marked. Each stage is a short lesson, quick questions, a minigame and an exam-style question.
- Types of machine learning
Identify whether a problem calls for supervised, unsupervised, reinforcement, deep or transfer learning, and justify it with real examples.
Syllabus A4.1.1
- Hardware for machine learning
Choose and justify suitable hardware (CPU, GPU, TPU, ASIC, FPGA, cloud, HPC or edge) for training or using a model in a given scenario.
Syllabus A4.1.2
- Preparing data for machine learningHL
Describe how data cleaning, feature selection and dimensionality reduction make a dataset fit for training.
Syllabus A4.2.1, A4.2.2, A4.2.3
- Linear regression and classificationHL
Explain how linear regression predicts continuous values and how k-NN and decision trees predict categories from labelled data.
Syllabus A4.3.1, A4.3.2
- Hyperparameters and model selectionHL
Explain how evaluation metrics, hyperparameter tuning and cross-validation are used to avoid overfitting and to choose and compare models.
Syllabus A4.3.3, A4.3.10
- Clustering and association rulesHL
Describe how k-means groups unlabelled data, choose k with the elbow method, and calculate and interpret support, confidence and lift for association rules.
Syllabus A4.3.4, A4.3.5
- Reinforcement learning and genetic algorithmsHL
Describe how an agent learns a policy that maximises cumulative reward, explain the exploration–exploitation trade-off, and describe how a genetic algorithm evolves solutions to real optimisation problems.
Syllabus A4.3.6, A4.3.7
- Artificial and convolutional neural networksHL
Sketch and explain a perceptron and a multi-layer perceptron, outline how a network is trained, and describe how a CNN uses convolution, pooling and fully connected layers to learn a hierarchy of image features.
Syllabus A4.3.8, A4.3.9
- Ethics of machine learning
Analyse the bias, accountability, transparency, privacy, consent, security, environmental and social impact of ML in real cases, and write level-7 “Discuss/Evaluate” answers.
Syllabus A4.4.1
- A society that depends on machines
Discuss, with balanced arguments and a reasoned conclusion, the digital divide, surveillance, anonymity, autonomy and dependence that come with the growing use of computer systems and AI.
Syllabus A4.4.2