Diversity-based sampling
Diversity-based sampling selects examples to represent variation or cover underrepresented regions of a candidate set or feature space.
Human-in-the-Loop Machine Learning: Active learning and annotation for human-centered AI
A method of selecting unlabeled items that are underrepresented or unknown in the model’s current training data or representation.
- How it is used
- Targets missing or underrepresented inputs for annotation within an active learning workflow.
- How deep it goes
- Explains four sampling approaches and adapts them to object detection, including cropping and background tradeoffs.
- Examples
- Uses disaster headlines, voice-assistant recordings, and object detection images to illustrate coverage gaps.
- What you can do after
- Apply diversity sampling by choosing approaches for model gaps, target domains, or demographic coverage and combining them with uncertainty and random sampling.
Build AI Drug Discovery Pipelines
Diversity selection chooses candidates to maximize coverage or variation across the represented candidate space.
- How it is used
- Guides active-learning selection toward broad chemical-space coverage rather than repeated sampling from familiar molecular families.
- How deep it goes
- Defines distance-, density-, and clustering-based strategies but does not provide a dedicated diversity implementation.
- Examples
- Uses diverse chemical scaffolds, labeled examples, feature-space distances, density-weighted candidates, and clustered unlabeled pools.
- What you can do after
- Apply it to select batches that cover varied chemical scaffolds and reduce over-specialization in sampled regions.
Read how Build AI Drug Discovery Pipelines explains diversity-based sampling →
What to know first
- neural networkA neural network is a computational model composed of interconnected, parameterized units or transformations that learn to map inputs to outputs.
- decision boundaryA decision boundary is a boundary in input or feature space separating regions assigned different classes or decision outcomes by a predictive model.
Related concepts
- expected error reduction samplingused by · An active learning strategy that selects items expected to produce the greatest reduction in model error when labeled.
- samplingkind of · Sampling is a procedure for selecting items from a collection or generating outcomes from a probability distribution according to a specified rule.
- active learning strategykind of · A method for selecting items to label during active learning.
- active learningkind of · Active learning is a machine-learning approach in which a learner selects informative data examples for labeling or feedback to improve a model.
- AI modelcontrasts with · An AI model is a computational system that learns or encodes patterns to map inputs to outputs such as predictions, classifications, or generated content.
- ATLASused by · An active transfer learning method for adaptive sampling that combines uncertainty and diversity considerations.
Questions about diversity-based sampling
What is diversity-based sampling?
Diversity-based sampling selects examples to represent variation or cover underrepresented regions of a candidate set or feature space.
Which Manning books explain diversity-based sampling?
Human-in-the-Loop Machine Learning: Active learning and annotation for human-centered AI and Build AI Drug Discovery Pipelines.
What should I know before learning diversity-based sampling?
Manning books that teach diversity-based sampling usually introduce neural network and decision boundary first.
What is the difference between diversity-based sampling and AI model?
Diversity-based sampling selects examples to represent variation or cover underrepresented regions of a candidate set or feature space. An AI model is a computational system that learns or encodes patterns to map inputs to outputs such as predictions, classifications, or generated content.
What is diversity-based sampling a kind of?
Diversity-based sampling is a kind of sampling. Sampling is a procedure for selecting items from a collection or generating outcomes from a probability distribution according to a specified rule.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

