דלג לתוכן

Labs · 9618 18.1 · machine learning

Build a Decision Tree

Sort animals with yes or no questions. Build your own tree, then let the computer choose its questions by information gain and compare.

5 levelsFree bench

In the exam

9618/32 May/June 2025 · Question 6(b) · 4 marks

Explain how supervised learning and unsupervised learning differ from each other.

Points that gain marks

  • Supervised learning uses labelled data; unsupervised learning uses unlabelled data.
  • Labelled data means the correct outcome is given with each input, to help the AI predict outcomes.
  • Supervised learning needs human input first (someone labels the training data); unsupervised learning does not.
  • With unlabelled data the outcomes are not known, so the AI must search for hidden patterns, structures or groups in the data.

In this lab: A decision tree is supervised: every animal it learns from already has its group (mammal, bird, fish, reptile). Level 5 shows the other half of the answer: the tree must also predict the group of new animals.

More real experiments

All labs →

היכנס או צור חשבון

IGCSE, A-Level & AP