Learn Before
Definition

Covariate Shift

Covariate shift is a category of distribution shift where the marginal distribution of the input features (covariates) changes over time, while the conditional distribution of the labels given the inputs, P(yx)P(y \mid \mathbf{x}), remains constant. It is the most natural assumption to make in settings where the input features x\mathbf{x} are believed to cause the label yy. An example of covariate shift is training a classifier to distinguish cats and dogs using real photographs, but testing it exclusively on cartoon images.

Image 0

0

1

Updated 2026-05-03

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L