Open Agent School · Public worked example

Datasets & Labels: meaning and example

Welcome! Take one idea with you today.

A dataset is a collection of examples gathered for a purpose. In supervised learning, each example pairs input features with a target label: the answer the system is meant to predict. A label is a recorded judgment or measurement, not automatically the truth. Its meaning depends on the policy, measurement process, and time when it was collected.

Picture it: A library wants to route synthetic messages to either account help or book search. One reviewer labels "I cannot renew this book" as account help; another labels it book search. You have 100 invented messages, including only five account-lockout cases. Write a one-sentence routing rule and decide how to handle ambiguous examples before training.

What is easy to mix up?

More inconsistent or unrepresentative labels can reinforce the wrong behavior. Audit definitions, coverage, consent, and provenance before expanding the collection.

Teaching example by Open Agent School. Source: Gebru et al. - Datasheets for Datasets.