A label is an annotation or observed outcome associated with a data sample. Labels can provide targets for model training and reference values—ground truth—for evaluating predictions. The label chosen should reflect what the product needs to predict, because it constrains both the model and what the product can deliver. section 6.2.4 section 14.4.3
Choosing labels for medical images
A radiology assistant could label an image for the presence of malignancy, its type, the region containing it, or the exact affected pixels. These choices support different tasks and require different tools, expertise, and labeling time. Start with the product’s needs rather than assuming the most detailed label is always practical. section 6.2.4
Figure 6.2 Various approaches to data labeling
Compare classification, detection, and segmentation approaches to labeling images. section 6.2.4
Labels need not be categories. For a retail sales forecast, one sample might represent a date, product, and store, with the number of units sold as its target. Transaction history supplies the primary source of truth for sales. section 6.7.1
Plan how labels will be obtained and trusted:
- Specify the needed label and its source in the dataset design. Decompose labeling tasks and provide clear instructions and usable interfaces. section 6.7 section 6.2.4
- When detailed labels are too expensive, expert capacity is limited, or tools are unavailable, consider weakly supervised approaches that use inaccurate or partial labels. section 6.2.4
- Check label quality. For crowdsourced image-search ranking labels, cross-checks and honeypots can help filter inaccurate labelers; algorithmic validation is another option to consider. section 14.5.2
Ground truth may arrive after a prediction. Once it is available, model-quality metrics can compare predictions with outcomes; until then, data and prediction drift can serve as proxy monitoring signals. Those proxies are not direct measurements of prediction quality. section 14.4.3




















