Data, Features and Labels

8 min read

Every machine learning model starts with a table of examples. The columns the model looks at are called features, and the column it tries to predict is called the label. Choosing good clues is half the job.

New words

Dataset
A table of examples that a model learns from.
Row
One example in the table, such as one fruit.
Feature
A clue the model looks at, such as colour or weight.
Label
The correct answer the model must learn to predict.
Leakage
A clue that secretly gives away the answer.
Pixel
One tiny dot of a picture, stored as a number.

What you will learn

  1. A spreadsheet is all you need
  2. Rows, features and labels
  3. What makes a good feature?
  4. Try it: choose the clues
  5. Garbage in, garbage out
  6. But what about text and pictures?
  7. Where you see it every day
  8. Explain it to a friend
  9. Key takeaways

10 quiz questions at the end.

Start this lesson

The full lesson, with interactive demos and the quiz, opens after you sign in with Google. It is free.

All lessons · Back to the roadmap