Learn Before
Example

Medical Diagnostics Example of Covariate Shift

Sampling bias during data collection can result in severe covariate shift, leading to models that fail in practice. For example, a medical algorithm designed to detect a disease using blood samples might be trained on a dataset consisting of sick older patients alongside healthy college students. Because the cohorts differ drastically in unrelated factors like age and hormone levels, the classifier might achieve high accuracy by learning these spurious features instead of genuine disease indicators. When deployed on real patients, the test will likely fail due to the extreme covariate shift between the training sample and the actual patient population.

0

1

Updated 2026-05-03

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L