AI EducademyAIEducademy
Programma'sLabBlogOver ons
Inloggen
AI EducademyAIEducademy

Gratis AI-onderwijs voor iedereen, in elke taal.

Leren

  • Programma's
  • Lessen
  • Lab
  • Dashboard
  • Over ons

Community

  • GitHub
  • Bijdragen
  • Gedragscode

Ondersteuning

  • Koop een Koffie โ˜•

Gratis AI-onderwijs voor iedereen

MIT Licentie โ€” Open Source

Programsโ€บ๐ŸŒฑ AI Seedsโ€บLessonsโ€บYour First AI Model
๐ŸŽจ
AI Seeds โ€ข Beginnerโฑ๏ธ 15 min leestijd

Your First AI Model

Time to Get Hands-On! ๐ŸŽ‰

You've learned what AI is and how machines learn. Now it's time to build one yourself.

Don't worry โ€” you won't need to install anything or write any code. Everything happens right here in your browser.

๐ŸŽฌ Machine Learning in 100 Seconds โ€” Fireship
Draw on the canvas, AI recognises shapes in real-time
You draw, AI predicts โ€” your first hands-on AI experience

What We'll Build

We're going to train an AI that recognises drawings. You'll:

  1. Draw examples of different shapes (circle, square, triangle)
  2. Label them ("this is a circle", "this is a square")
  3. Watch the AI learn from your examples
  4. Test it with new drawings to see if it learned correctly

This is real machine learning โ€” the same concept used by Google, Apple, and every major tech company.

๐Ÿง Quick Check

What is the FIRST step when training an AI to recognise drawings?


Try It: Go to the Playground

Head over to our AI Playground to try the Drawing Recogniser!

Here's what to do:

  1. Click on the drawing canvas
  2. Draw a simple circle
  3. The AI will try to guess what you drew
  4. Try different shapes โ€” squares, triangles, stars
  5. See how confident the AI is in its guess
โœ…

Start with simple, clear shapes. The AI works better with distinct drawings. A wobbly circle might confuse it at first!


What's Happening Behind the Scenes?

When you draw and the AI guesses, here's what's happening in simple terms:

  1. Your drawing becomes numbers โ€” The computer doesn't "see" your drawing. It converts it into a grid of numbers (bright pixels = high numbers, dark pixels = low numbers)

  2. It compares to known patterns โ€” The AI has been trained on thousands of similar drawings. It knows that circles tend to have certain patterns of numbers, squares have others

  3. It calculates confidence โ€” For each shape category, it calculates a percentage: "72% circle, 18% oval, 10% square"

  4. It gives its best guess โ€” The highest percentage wins!

This is the same basic process used in medical imaging โ€” doctors' AI tools look at X-rays and compare them to millions of previous X-rays to detect problems.


Understanding the Results

When you see the AI's guess:

Confidence levels: High (80%+), Medium (50-80%), Low (below 50%)
The higher the confidence, the more the AI's prediction matches its training data
  • High confidence (80%+) โ€” The AI is quite sure. Your drawing closely matches patterns it has seen before.
  • Medium confidence (50-80%) โ€” The AI is somewhat sure, but the drawing could match multiple shapes.
  • Low confidence (below 50%) โ€” The AI is guessing. Your drawing doesn't clearly match any pattern it knows.
๐Ÿง Quick Check

You draw a shape and the AI says '92% circle.' What does that mean?

๐Ÿค”
Think about it:

What happens when you draw something the AI has never seen โ€” like a house or a cat? It will still try to classify it as one of its known shapes. This is a limitation: AI can only recognise what it's been trained on.


Experiment Ideas

Try these experiments to understand AI better:

Experiment 1: Draw the Same Shape Differently

Draw a circle 5 different ways โ€” big, small, thick, thin, wobbly. Does the AI still recognise all of them?

Experiment 2: Try to Trick It

Draw something between a circle and a square (a rounded square). What does the AI say? This shows you how AI handles ambiguity.

Experiment 3: Draw Something Unknown

Draw a star or a heart. The AI wasn't trained on these โ€” what happens? This demonstrates the limits of training data.


What You've Just Done

Congratulations! ๐ŸŽ‰ You've just experienced the core concepts of AI:

  • Training data โ€” The examples the AI learned from
  • Pattern recognition โ€” How the AI identifies shapes
  • Prediction โ€” Making a guess based on learned patterns
  • Confidence scores โ€” How certain the AI is
  • Limitations โ€” AI can only recognise what it was trained on

These same concepts power everything from self-driving cars to medical diagnosis to voice assistants.


Quick Recap ๐ŸŽฏ

  1. AI converts your drawing into numbers and compares it to known patterns
  2. Higher confidence = the drawing more closely matches known examples
  3. AI can only recognise what it's been trained on โ€” it can't handle truly unknown things
  4. The same basic process powers real-world AI applications
๐Ÿง Quick Check

What happens when you draw a star for an AI that was only trained on circles, squares, and triangles?


What's Next? ๐Ÿš€

Coming soon: AI in the Real World โ€” where we'll explore how AI is used in healthcare, agriculture, education, and more. Plus, we'll discuss the important topic of AI ethics and bias.

Stay curious! ๐ŸŒŸ

Lesson 3 of 30 of 3 completed
โ†How Machines Learn๐ŸŒฟ AI Sproutsโ†’