๐Ÿค– Can a Computer Learn?

AI & Machine Learning Playground

Artificial Intelligence sounds like science fiction - but it's already in your phone, your Netflix recommendations, and your Instagram feed. See how a computer "learns" from examples.

Digital Technology GCSE (2026) ยง1.6.2Digital Technology AS Unit 1, 2.1.2; A-level Unit 3, 2.3.1

๐Ÿค” What is AI?

Artificial Intelligence = a computer that can do tasks that normally need human intelligence - recognising faces, understanding speech, making decisions.

Machine Learning = a type of AI where the computer learns from examples instead of being given exact rules. You show it 1,000 photos of cats and dogs, and it figures out the difference itself.

๐Ÿ• Analogy: Traditional programming = giving someone a recipe. Machine learning = giving someone 100 pizzas and saying "figure out how to make these."
๐Ÿง 

Explore a classifier

A classifier sorts things into categories. Explore labelled examples and follow a fixed decision tree. The rules here are prewritten; pressing the button does not train a model.

๐Ÿ“‹ Training Data (labelled examples; rules in this demo are prewritten)
๐ŸŒฒ Decision Tree (prewritten example rules)
๐Ÿ“Š

Types of Machine Learning

๐Ÿ‘ฉโ€๐Ÿซ
Supervised
AI learns from labelled examples - you tell it "this is a cat, this is a dog." Like a teacher marking homework.
๐Ÿ“Œ Image recognition, spam filters, medical diagnosis
๐Ÿ”
Unsupervised
AI finds patterns on its own without labels - "these things seem similar, let me group them." Like sorting a messy drawer.
๐Ÿ“Œ Customer grouping, anomaly detection, recommendations
๐ŸŽฎ
Reinforcement (extension)
AI learns by trial and error - it gets rewarded for good actions and punished for bad ones. Like training a dog with treats.
๐Ÿ“Œ Game-playing AI, self-driving cars, robotics
๐Ÿ“ Exam tip: A real supervised learning algorithm learns from labelled data. This demonstration only follows a prewritten tree. Semi-supervised learning combines a small amount of labelled data with a larger amount of unlabelled data. Compare this with unsupervised learning, which looks for patterns without supplied labels.