liveBook · Manning

Diversity-based sampling

Diversity-based sampling selects examples to represent variation or cover underrepresented regions of a candidate set or feature space.

How 2 Manning books explain it

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.

Read how Human-in-the-Loop Machine Learning: Active learning and annotation for human-centered AI explains diversity-based 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

Related concepts

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.