Deep learning

Deep learning means using neural networks with many hidden layers. Each layer learns something a little more complex than the one before. Different designs suit different data: CNNs for images, RNNs for sequences, and transformers for language today.

Everyday analogy

An assembly line for understanding a photo: the first workers spot edges, the next spot shapes like eyes and ears, the last ones say "that's a cat."

Example

  • CNN (convolutional neural network): photo apps grouping pictures by face, medical X-ray checks.
  • RNN (recurrent neural network): older speech and translation systems that read one word at a time.
  • Transformer: ChatGPT, Claude and Gemini (see the lesson in How chatbots work).
🖼️Pixelsraw image➖Edgeslayer 1🔺Shapeslayers 2–3👁️Partseyes, ears, nose🐱Object"cat"
Each layer of a deep network learns something a bit more complex than the layer before.

Why deep learning took over

Traditional machine learningDeep learning
FeaturesPeople decide which features matter (hand-crafted)Learns the features by itself from raw data
Data neededWorks with smaller data setsNeeds large data sets
Best withTables of numbers and categoriesImages, text, audio and video
ComputingRuns on an ordinary computerUsually needs GPUs
ExamplesLinear regression, decision trees, random forestsCNNs, RNNs, transformers

Rule of thumb: for a spreadsheet of customer data, traditional machine learning is often enough and easier to explain. For photos, documents, speech or free text, deep learning usually wins.

Where deep learning is used today

AreaExamples
LanguageChatbots, translation, speech recognition, summarising documents
VisionFace unlock, reading number plates, checking damage in photos, satellite images
MedicineSpotting problems in X-rays, CT and MRI scans; reading pathology slides
SciencePredicting protein shapes (AlphaFold), weather forecasting
Creating contentGenerating images, music and video; colourising old photos
RecommendationsWhat to watch, buy or read next
Games and robotsGame-playing AI, robots that grip and sort, self-driving systems
BusinessFraud detection, forecasting, text-to-speech for customer service

Go deeper: how a network is trained, CNNs, RNNs and reinforcement learning.

Try it yourself

About 15 min

Train an image model in your browser

  1. Open Teachable Machine (free, no sign-up) and choose Image project.
  2. Make two classes, e.g. thumbs up and thumbs down, and record about 30 webcam pictures of each.
  3. Click Train, then test it live.

What you should see: A working deep learning model in minutes. Try it with bad lighting to see where it fails.

Use any free AI chatbot (ChatGPT, Claude, Gemini or Copilot). Never paste private or confidential information.

Build it for real · guided projectTeach a neural network to read handwritingAbout 60 min · Copy-paste code · step by step
Test what you learned

Take a quick quiz, or look up any word in the glossary.