Data labeling adds task-specific information to examples used in machine learning. For a support-ticket classifier, the input might be the ticket text and the label might be billing, technical support, or cancellation. For a house-price prediction model, the target is a numeric sale price rather than a category. Labels can describe an entire example, identify individual objects or text spans, or specify boundaries within an image. The correct label format depends on what the model must predict.
Labeled data contains known target values or annotations for the task. Unlabeled data lacks those task-specific targets, even when it contains useful metadata or has a well-defined schema. A transaction table without confirmed fraud outcomes is structured but unlabeled for fraud detection. Conversely, a photograph with an attached object annotation is labeled even though its image content is unstructured. Label status, data structure, and data modality are separate characteristics.
Labeling applies across common data types. Tabular records can contain a target column such as customer churn status. Time-series data can have labels identifying equipment-failure intervals or target values representing later demand. Images can receive class labels, bounding boxes, or pixel-level segmentation annotations. Text can receive sentiment categories or annotations marking names and locations. Adding annotations does not turn the original image or free-form text into tabular data; the annotations provide structured information associated with that content.
In a cloud workflow, engineers commonly store raw data in object storage, define an annotation schema and instructions, and send selected examples through a labeling workflow. Annotators or automated processes produce labels, which are stored alongside stable references to the original examples. The resulting dataset can then be validated, versioned, and used for training, validation, and testing. Access controls, encryption, and restricted labeling workforces help protect sensitive source data.
Labels do not always require manual annotation. Business systems may already record useful outcomes, such as whether a payment was later confirmed fraudulent. For forecasting, future observed measurements can become targets when historical training examples are constructed. Human reviewers, rules, and model-assisted annotation can also supply labels. Automatically generated labels remain subject to errors and should not be treated as verified truth without appropriate checks.
The main trade-offs involve cost, speed, expertise, and quality. Multiple reviewers and expert adjudication can improve consistency but increase expense and turnaround time. Clear definitions and representative examples reduce ambiguity. Review disagreement, incorrect labels, and uneven coverage of important classes can limit model performance. A large labeled dataset is not necessarily better than a smaller, accurate dataset that represents the intended use case.
For reliable evaluation, keep training and test examples separate and prevent related records from leaking across dataset splits. With time-series data, preserve time order and avoid using future information as an input feature. Labels are often called ground truth, but they can still reflect mistakes or subjective judgments. Finally, not every learning method needs manually labeled examples: unsupervised learning finds patterns without task labels, while self-supervised learning derives training targets from the data itself.