liveBook · Manning

Negative sampling

As explained in Build AI Drug Discovery Pipelines

Negative sampling is a data-labeling or training technique that treats selected unobserved or unrecorded examples as negative examples.

Negative sampling labels selected unobserved or unrecorded examples as negative examples. It can expand datasets containing only positive observations, but its central assumption is strong: an unrecorded molecule is treated as a negative case. section 5.4.2

CYP inhibition data

Five CYP inhibitor datasets contained 16,368 molecules, but only 4,805 appeared in every dataset. Rather than assume that missing inhibitor records indicate no inhibition, a full-dataset workflow could label unrecorded molecules as negative examples through negative sampling. section 5.4.2

Use negative sampling with care:

  • Separate the technique from evidence of true absence: an unobserved molecule may simply be untested or unrecorded. section 5.4.2
  • Combine it with representative train–test splitting when multilabel distributions and label combinations must remain balanced. section 5.4.2

How Build AI Drug Discovery Pipelines covers it

How deep it goes
Defines the labeling assumption and its limitation but does not specify a negative-selection algorithm or evaluate sampled negatives.
Examples
Uses five CYP inhibitor datasets, 16,368 total molecules, and 4,805 molecules reported across all datasets.
What it assumes
Assumes familiarity with positive samples and multilabel datasets while warning that unobserved does not mean inactive.
What you can do after
Apply negative sampling by labeling unrecorded molecules as negative examples in a full-dataset workflow.
How it connects
Connects negative sampling to positive-only datasets, multilabel classification, CYP inhibition, and stratified sampling.

Also explained in

Compare how 4 books explain negative sampling →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build AI Drug Discovery Pipelines. The section links point to the parts of the book it draws on.