Class 8 · Unit 4: Data and fairness · Lesson 4.1 · 40 min
Where AI gets its data
2.4 million plant photos trained the app. Nobody says who took them. Somewhere in there might be your chinar.
Today you will: Write a dataset card · Spot the questions a dataset can't answer · Decide which data you'd trust
Story
Rahat finds a free app that promises to name any plant from a photo. It is fast, and it is right most of the time.
Hiba: “Where did it learn all that?”
Rahat shrugs. "From the internet?"
They read the app's page properly. It says the model was trained on 2.4 million plant photographs. Nowhere does it say who took them, which countries they came from, or whether the photographers were asked.
Hiba thinks about the photo of their own chinar tree that Rahat posted last spring.
Hiba: “So somewhere in those millions, there might be ours.”
Watch
Every dataset has a history — — scan code 8.4.1 in the printed book.
Learn it
A model knows only what its data taught it, so the first question about any AI is: where did the data come from? No dataset falls from the sky. Somebody chose what to collect, whom to ask, how to label it and what to leave out, and every one of those choices ends up inside the model. A dataset card writes those choices down, and a gap on the card is worth recording too.
Words to know
- Dataset a collection of examples a model learns from.
- Collected data gathered on purpose by someone measuring or photographing.
- Found data taken from the web, often without asking (also called scraped).
- Left-behind data a by-product of people using an app or service, such as their clicks.
- Label the answer attached to an example, like scab or healthy. Labels are human judgements, and different people label differently.
- Consent the people in the data agreed, knowing how it would be used. Posting a photo is not agreeing to train a model.
- Dataset card a short record of a dataset's history. Researchers call these datasheets for datasets.
Step by step: a dataset card for the class's leaf photos
| Question | Answer |
|---|---|
| What's in it? | 120 photos of apple leaves |
| Who collected it, when? | Class 8B, March |
| Where? | three orchards near school |
| Who or what is in it? | leaves only, no people |
| Were they asked? | the orchard owners, yes |
| Who labelled it? | our group, checked by the teacher |
| Who's missing? | no Ambri trees, no photos in rain |
| What was it made for? | learning to train a classifier |
| Who benefits? | the class |
- Answer every question from what you actually know.
- Where nothing is said, write "not stated". Never guess.
- Count the gaps: a dataset with many not stated boxes is harder to trust for anything that matters.
Class 6's isnād question, new subject: who does this come from, and how do we know?
Careful: data is not just facts, so it can be unfair: facts about whom, chosen by whom? And labels are not obvious. Give one borderline leaf photo to four people and they may give four different labels; whoever labels the data shapes the model.
On the laptop
You need: LibreOffice Calc · dataset-card.ods (nine questions) · mystery-datasets.odt
Mission 1: Your mission
- ☐1
Save
dataset-card.odswith your names. Card 1: fill it for a dataset your class made — the leaf photos, the waste photos. Nine questions: What's in it? · Who collected it, when? · Where? · Who or what is in it? · Were they asked? · Who labelled it? · Who's missing? · What was it made for? · Who benefits? - ☐2
Predict: how many not stated will the two mystery datasets have?
- ☐3
Cards 2 and 3: fill one card each for the mystery datasets. Where the description is silent, write not stated — don't guess.
- ☐4
Count the not stated boxes across all three cards.
- ☐5
One sentence: which dataset would you trust for a decision that matters — and why?
No laptop today?
Your teacher reads the three descriptions aloud. Rule the card into your notebook, fill it, and write not stated where the description is silent. Count the blanks together.
Debate it
The plant app's 2.4 million photos help farmers identify diseases early. Nobody who posted those photos was asked.
Does a good result make it acceptable? What would a fair way to build that dataset have looked like?
Check yourself — practice, not a test
1. What does a dataset card record?
- ○ How fast a model runs
- ○ Where the data came from, who is in it, who labelled it and what is missing
- ○ The price of the software
- ○ How many people use the app
2. Which of these are ways data reaches a model? (choose all that apply)
- ○ Collected on purpose by someone measuring or photographing
- ○ Found on the web and taken without asking
- ○ Left behind as a by-product of people using an app
- ○ Generated by the laptop when it is switched off
3. If a photo is public on the internet, the person who posted it has agreed to it being used to train an AI model.
- ○ True
- ○ False
4. Deciding that one leaf counts as "scab" and another as "healthy" is a human ______, not a fact of nature.
5. On a dataset card, writing "not stated" means:
- ○ The dataset is illegal
- ○ We do not know, and that gap is worth recording
- ○ The answer is zero
- ○ The data is fake
Remember
No dataset falls from the sky. Every row was a choice somebody made.
Typing practice
Skill: typing while you think (Term 2 focus, 6 min)
- On typing.com, do one Intermediate paragraph lesson.
- Then, in Writer, type these four questions from memory, as fast as you can while staying accurate: Who collected it? When? Who is in it? Did they agree?