Dictionary of Applied Machine Learning: 114 machine-learning terms, each with a definition, a figure, citations and a Python demo · All terms · Demos · Start here
Updated on 2026-10-28
Readiness 99/100
See also hypothesis space data point label empirical risk minimization
A hypothesis is a map $h: \mathcal{X} \rightarrow \mathcal{Y}$ from the feature space $\mathcal{X}$ to the label space $\mathcal{Y}$. Given a data point with features ${\mathbf x}$, the hypothesis returns a prediction $h({\mathbf x})$ for the label $y$. A machine learning (ML) method selects a single learned hypothesis $\widehat{h}$ from a restricted hypothesis space $\mathcal{H} \subseteq \mathcal{Y}^{\mathcal{X}}$. This restriction reflects finite computational resources of a practical ML method. An empirical risk minimization (ERM)-based method finds $\widehat{h}$ by a search that uses the structure of $\mathcal{H}$, e.g., gradient descent (GD) on a parametric model.

hypothesis.py, which recomputes what the entry states: the script block by block · open in ColabP-learnPredicting tomorrow's maximum daytime temperature
from today's morning temperature is a typical machine learning (ML)
task. A hypothesis is the
map that performs this prediction. Formally, a
hypothesis is a map (also called a function)
$h: \mathcal{X} \rightarrow \mathcal{Y}$
from the feature space $\mathcal{X}$ to the
label space $\mathcal{Y}$
(Shalev-Shwartz and Ben-David, 2014, Sect. 2.1). Given a data point
with features ${\mathbf x}$, the hypothesis $h$
returns an estimate
$\widehat{y} = h({\mathbf x})$ of the
true label $y$. The same structure, features
in and prediction out, appears in a very different
application: Fig. 1 shows a hypothesis
that predicts a Freddie-likeness score from
the samples of an audio recording, i.e., the measured
amplitudes at successive time instants.
P-reprDifferent hypothesis spaces admit different representations
of their hypothesis maps. Polynomial regression (with a
single scalar feature $x$) represents each
$h \in \mathcal{H}$ as an algebraic expression
$h(x) = \sum_{j=0}^{p} w_{j}
x^{j}$, where $p$ is the degree of the polynomial
and the coefficients $w_{j}$ are the model parameters. A hypothesis space of computer programs
represents $h$ as executable source code, e.g., a
Python function with a prescribed signature.
A decision tree or an artificial neural network (ANN) represents $h$
as a signal-flow chart whose nodes apply simple operations
(e.g., comparisons, weighted sums, nonlinear activations)
and whose edges define the order in which these operations are composed.
These representations differ in which functions
they can express and in how efficiently the ERM
problem can be solved over the corresponding $\mathcal{H}$.
Fig. 2 shows the three
representations side by side.
Synonyms: predictor.
See also: function, prediction, predictor, hypothesis space, data point, label, empirical risk minimization.
Published version: doi.org/10.1007/978-981-92-2012-0_5-1, in Dictionary of Applied Machine Learning (Springer Nature Singapore). Please cite that version. This page corresponds to version 1 of that entry.
@incollection{dictml_hypothesis,
author = {Jung, Alexander},
editor = {Olioumtsevits, Konstantina and Schnoor, Ekkehard},
title = {hypothesis},
booktitle = {Dictionary of Applied Machine Learning},
publisher = {Springer Nature Singapore},
year = {2026},
doi = {10.1007/978-981-92-2012-0_5-1},
isbn = {978-981-92-2012-0},
url = {https://doi.org/10.1007/978-981-92-2012-0_5-1}
}