How does AI learn?
Welcome! I am excited to help you explore how AI works from the ground up.
Before we dive into the concepts, I'd love to learn a little bit about your background with technology and what brings you here today.
I use tools like ChatGPT and want to know what happens under the hood.
It makes total sense that you want to see what is going on behind the scenes, especially since tools like ChatGPT seem almost magical when you use them.
Continue: How does AI use data as learning material?
Now let's open up the engine and look at how a model actually uses to learn.
Think of training data as thousands of flashcards. To teach an AI to recognize dogs, you do not write rules about ears or tails. Instead, you feed it thousands of photos, where each photo is split into three main components:
- Training Data: The overall collection of examples (the whole stack of flashcards).
- Features: The input traits the AI analyzes (like the pixels, colors, or shapes in an image).
- Labels: The correct answer attached to each example (a tag saying "dog" or "not dog").
By comparing millions of features against their correct labels, the algorithm works out which subtle patterns reliably point to the right answer.
A machine learning classification pipeline showing a photo input broken down into features, processed by a model, and mapped to a dog label.
I've sketched a simple visual showing how an input picture gets split into features and linked to a label during training.