Can a computer learn?

A one-hour, hands-on crash course in AI & machine learning

πŸŽ“ Dr. Rachid Zeghlache

Assistant Professor of Artificial Intelligence
American University in Dubai

Hands up πŸ™‹

Who used AI today?

πŸ”“Unlocked a phone with your face
🎡Got a song recommended
πŸ—ΊοΈChecked traffic on a map
πŸ“§Didn't see any spam

You probably used AI a dozen times before breakfast β€” without noticing.

πŸ€– AI or Not?

Drag each card. Shout your answer first! β†— open

The big idea

Rules vs. learning

βš™οΈ Normal program

πŸ“œ RulesπŸ“¦ Data
⬇
Computer
⬇
βœ… Answers

A person writes every rule.
"IF temperature < 20 THEN heat on"

🧠 Machine learning

πŸ“¦ Dataβœ… Answers
⬇
Computer
⬇
πŸ“œ Rules

You show it examples.
It works out the rules itself.

Words you'll hear

πŸ€– Artificial Intelligence
πŸ“ˆ Machine Learning
🧠 Deep
Learning
AI β€” any computer doing something that looks smart. Even a chess program with hand-written rules.
Machine learning β€” AI that learns from examples instead of following written rules.
Deep learning β€” machine learning with huge neural networks. Behind face unlock, ChatGPT and self-driving cars.

🎯 Teach the Computer

Cats, dogs or hamsters? Tap to add examples. β†— open

Plot twist

Where do the examples come from?

From people. Millions of photos, drawings and sentences β€” each one labelled by a human.

For the next few minutes, you are the data labeller. ✍️

✏️ Doodle Trainer

Draw β†’ save with a label β†’ draw a new one β†’ does it guess? β†— open

πŸ”² Box Labeller

🎁 bonus Box every object and label it β€” like the people who train self-driving cars. β†— open

πŸ‘οΈ How a Computer Sees

A picture is just a grid of numbers. β†— open

Deep learning, in one picture

Layers on layers of filters

πŸ“· pixels〰️ edgesπŸ”· shapes🐱 "cat!"

🧠 Build a Brain

Design the layers. Train on 10,000 digits. Draw one. β†— open

πŸ“Έ Train a Camera AI

Hold a button to record examples. Then test it. β†— open

Why did it get confused?

An AI only knows its data

34.7%

error rate for darker-skinned women in commercial face-analysis software…

0.8%

…versus lighter-skinned men.

Gender Shades study, Buolamwini & Gebru, MIT Media Lab, 2018

πŸ”Ž Same problem as our demo

The training photos were mostly of one kind of face. The AI wasn't "mean" β€” it just never learned the others.

Fix: more varied data, and people who check.

That's why AI needs people from every background building it β€” including you.

πŸ” Object Detector

🎁 bonus A real AI trained on 200 000+ hand-labelled photos. What can it spot? β†— open

From pixels to words

Can a computer read?

To a computer, a sentence is just numbers too β€” words become counts, and counts become patterns.

πŸ˜€ Mood Reader

Type anything. Is it happy or sad? Watch every word vote. β†— open

πŸ’¬ Mini ChatGPT

It read Alice in Wonderland. Now it predicts the next word β€” again and again. β†— open

🩺 AI Doctor's Assistant

569 real biopsies. Which mistake is worse? β†— open

Beyond the classroom

What can AI do?

…and what to watch out for

AI can be wrong β€” confidently

AI is a tool. It's only as good as its data β€” and the people using it.

Remember three things

What you learned today

1

AI learns from examples

Not from rules someone wrote. You trained seven yourselves.

2

Data is everything

Humans choose and label it. Bad or narrow data β†’ bad or unfair AI.

3

Stay curious & critical

AI is powerful and can be wrong. Check it β€” and build it better.

Your future

Jobs in AI β€” and AI in every job

🌍 AI + anything: medicine, law, finance, climate, art, sport, games β€” every field now needs people who understand AI.

Start this weekend β€” for free

The tools to master, step by step

  1. 1

    πŸ“ Maths you already do

    Statistics, probability, algebra β€” the ideas behind every model.

    at school Β· Khan Academy
  2. 2

    🐍 Python

    The language of AI. Clear, free, used everywhere.

    Python Β· Google Colab (nothing to install)
  3. 3

    πŸ“Š Data tools

    Load, clean and chart data.

    NumPy Β· pandas Β· Matplotlib
  4. 4

    πŸ€– Machine learning

    Train your first models in a few lines.

    scikit-learn
  5. 5

    🧠 Deep learning

    Neural networks for images, sound and text.

    PyTorch Β· TensorFlow / Keras
  6. 6

    πŸ€— Ready-made AI

    Use and fine-tune thousands of models.

    Hugging Face
  7. 7

    πŸ—‚οΈ Share your work

    Every project you post is part of your portfolio.

    Git Β· GitHub
  8. 8

    πŸ† Practise on real problems

    Real datasets and friendly competitions.

    Kaggle

πŸš€ The secret: build one small project a month β€” a game bot, a mood detector, a sports predictor. Projects teach more than any course.

Want to build them for real?

Every AI today, in a few lines of Python

Tap any card to see the code · all of them run free in Google Colab 🐍

Keep playing at home

πŸŽ‰

Thank you!

Questions? Ideas? What would you teach an AI?