The short answer
In machine learning, a hypothesis is usually called a model once it has been chosen. Depending on the task, it may be called a classifier, which predicts a category, or a regressor, which predicts a number. In statistics, the word refers to a claim that gets tested, and the two standard claims are named H0 (the null hypothesis) and H1 (the alternative hypothesis).
The everyday name in machine learning: a model
The word “hypothesis” is common in textbooks and theory. In day-to-day practice, people talk about training a model. The model is a specific function, picked from many candidates during training, that maps inputs to predictions.
When someone says they have trained a model, they mean they have chosen one hypothesis from the hypothesis space. The model is the result of that choice, and the hypothesis is the same function viewed through the learning process.
Names that depend on the task
- Classifier: a model whose outputs are categories, such as spam or not spam.
- Regressor: a model whose outputs are numbers, such as a price or a temperature.
- Predictor: a general term for any function that outputs predictions.
- Learned function: a plain description that fits any of the above.
The hypothesis space is a set, not one hypothesis
The hypothesis space is the collection of all candidate functions a learner can consider. A single hypothesis is one member of that collection. So when someone asks for “the hypothesis,” they usually want the one function the learner picked. When they talk about the hypothesis space, they mean every option that was available.
Notation in textbooks
Many textbooks use h for the hypothesis a learner picks. They often use f for the true relationship that generated the data. The learner cannot observe f directly. It can only find a hypothesis that approximates it from examples.
In statistics, a hypothesis is a claim
In statistics, the same word names a claim about a population or a model, which the data can support or weaken. The two standard forms are the null hypothesis, H0, which is the default claim of no effect, and the alternative hypothesis, H1, which the test looks for evidence to support. A test does not prove either claim. It measures how well the data fits each one.
Machine learning often runs these tests to compare two models, and that shared vocabulary is one reason the two fields overlap so much.
Quick reference
- Machine learning: a hypothesis is a candidate function. Once chosen, it is usually called a model, classifier or regressor.
- Hypothesis space: the full set of candidate functions.
- Statistics: a hypothesis is a testable claim, with H0 as the default and H1 as the alternative.