AI & Machine LearningMachine Learning
Nearest Neighbor
A new item can be classified by the examples most like it
Show a computer a fruit it's never seen. It knows no rules about fruit, yet it can usually guess what it is. How?
You'll find out
- How a computer decides what's alike
- How many neighbors should get a vote
- Why an apple can get called a pear
Why it matters
Apps can use the same trick to suggest movies. Knowing how it works tells you when to trust it, and when not to.
Play this lesson
Free to play in your browser or on iPhone