What is the unknown joint probability distribution P(X, Y) in the supervised learning framework?

Last updated 14 November 2026

  • P(X, Y) is the fixed but unknown data-generating distribution over input-label pairs. Training and test examples are assumed drawn i.i.d. from it.

  • It defines the true objective: true risk R(h) = E[L(h(X), Y)] under P. Since P is unknown, we minimize empirical risk on the sample as a proxy (ERM).

  • It factorizes as P(X) P(Y | X), where P(Y | X) captures label noise and fixes the Bayes optimal predictor and its irreducible error. Shifts in P between train and test (covariate shift, concept drift, label shift) break the assumptions.

  • https://github.com/amueller/COMS4995-s18/blob/master/slides/aml-01-011718-introduction/index.html
  • https://georg.io/mltoolbox
  • https://www.geeksforgeeks.org/machine-learning/machine-learning-interview-questions/
All Supervised Learning interview questions