Course 1, lesson 4 of 100, Ages 3+
Sort it out
Grouping things like a robot
Like I’m 5
When you tidy toys, you put cars in one box and teddies in another. Sorting means putting things that are alike together. AI sorts things too, really fast.
The big idea
To sort, you look for something things share: their colour, their shape, their size or what they're for. Crayons by colour. Socks in pairs. Blocks by shape.
AI sorts things all day. Email sorts junk into a spam folder. Photo apps sort pictures of dogs, beaches and birthdays. They learned what each group looks like from many examples.
Examples
- Photo albums: Your phone puts all the beach photos together without being asked.
- Recycling robots: Cameras help robots sort plastic, paper and metal on a moving belt.
- Shopping websites: Shoes, shirts and toys are sorted into groups so you can find them.
How it works
- Look closely at each thing.
- Notice what it shares with others: colour, shape or size.
- Put it in the group where it fits best.
Check your understanding
- A red block, a red car and a blue ball. Which two go together by colour?
- Options: The red block and the red car; The red car and the blue ball; The blue ball and the red block.
Answer: The red block and the red car. Both are red, so they belong in the same colour group. - Which of these sorts things using AI?
- Options: A phone that groups beach photos together; A box with no lid; A pencil.
Answer: A phone that groups beach photos together. The phone looked at the pictures and put the alike ones together.
Remember
Sorting means putting alike things together. AI learns what each group looks like and sorts very fast.
Talk about it
Can you sort the things in your bag into groups? What rule did you use?
Go deeper
In machine learning, sorting things into known groups is called classification. A spam filter is a classifier with two groups: spam and not spam.