| Input (X) | Output (Y) | Application |
|---|---|---|
| Spam or not spam | Spam filtering | |
| Audio clip | Text transcript | Speech recognition |
| English text | Text in another language | Machine translation |
| Ad + user info | Will user click? | Online advertising |
| Image + sensor data | Position of other cars | Self-driving cars |
| Photo of product | Defect present? | Visual inspection (manufacturing) |
Online advertising is currently the most lucrative application, platforms predict which ads you'll click on, and each click generates revenue.
Given data on house sizes (square feet) and their sale prices, you can train a model to predict prices for new houses.
The algorithm might fit:
Choosing the right function to fit is a key skill covered in ML courses.
Classification is the second major type of supervised learning. Unlike regression, which predicts a number from infinite possibilities, classification predicts discrete categories from a limited set of outputs.