Dictionary of Applied Machine Learning

random variable

Typeset PDF version — the authoritative form of this entry

A random variable (RV) is a function that maps each outcome of a random experiment to an element of a measurable space. Important types of RVs include binary RVs, discrete random variables (discrete RVs), real-valued RVs, random vectors, and random matrices. In machine learning (ML), data points are often interpreted as realizations of independent and identically distributed (i.i.d.) RVs, whose probability distribution then governs their typical properties.

Definition

An RV is a function that maps the outcomes of a random experiment to elements of a measurable space (Billingsley, 1986; Gray, 2009). Mathematically, an RV is a function $x: \samplespace \rightarrow \featurespace$ whose domain is the sample space $\samplespace$ of a probability space and whose co-domain is a measurable space $\featurespace$. Different types of RVs include

Probability theory uses the concept of measurable spaces to rigorously define and study the properties of collections of RVs (Billingsley, 1986).

See also: function, random experiment, sample space, probability space, vector, Euclidean space, probability, measurable, random vector, random matrix, sub-Gaussian random variable.

References

  1. Billingsley (1986). Probability and Measure. Wiley.
  2. Gray (2009). Probability, Random Processes, and Ergodic Properties. Springer Science+Business Media.

Cite this entry

@misc{dictml_rv,
  author = {Jung, Alexander},
  title = {random variable},
  howpublished = {Dictionary of Applied Machine Learning (course edition)},
  year = {2026},
  doi = {10.5281/zenodo.21569296},
  note = {ISBN 978-952-64-3013-3, CC BY 4.0, retrieved 2026-08-06},
  url = {https://dictionaryofml.org/terms/rv.html}
}