Margin (machine learning)
In machine learning, the margin of a data point is a measure of its separation from a classifier's decision boundary. A common distinction is made between the functional margin, defined in terms of the classifier's output, and the geometric margin, defined in terms of distance from the decision boundary. The precise meaning of "margin" therefore depends on the learning algorithm and the convention adopted by a particular source. A margin classifier is a classification model that utilizes the margin of each example to learn such classification. There are theoretical justifications (based on the VC dimension) as to why maximizing the margin (under some suitable constraints) may be beneficial for machine learning and statistical inference algorithms. For a given dataset, there may be many hyperplanes that could classify it. One reasonable choice as the best hyperplane is the one that represents the largest separation, or margin, between the classes. Hence, one should choose the hyperplane such that the distance from it to the nearest data point on each side is maximized. If such a hyperplane exists, it is known as the maximum-margin hyperplane, and the linear classifier it defines is known as a maximum margin classifier (or, equivalently, the perceptron of optimal stability).
In machine learning, the margin of a data point is a measure of its separation from a classifier's decision boundary. A common distinction is made between the functional margin, defined in terms of the classifier's output, and the geometric margin, defined in terms of distance from the decision boundary. The precise meaning of "margin" therefore depends on the learning algorithm and the convention adopted by a particular source. A margin classifier is a classification model that utilizes the margin of each example to learn such classification. There are theoretical justifications (based on the VC dimension) as to why maximizing the margin (under some suitable constraints) may be beneficial for machine learning and statistical inference algorithms. For a given dataset, there may be many hyperplanes that could classify it. One reasonable choice as the best hyperplane is the one that represents the largest separation, or margin, between the classes. Hence, one should choose the hyperplane such that the distance from it to the nearest data point on each side is maximized. If such a hyperplane exists, it is known as the maximum-margin hyperplane, and the linear classifier it defines is known as a maximum margin classifier (or, equivalently, the perceptron of optimal stability). ==References==
References
No reference rows published for this article.
Cite this article
MLA
"Margin (machine learning)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/margin-machine-learning. Accessed 24 November 2026.
Chicago
"Margin (machine learning)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/margin-machine-learning.
APA
encyclopegia.org. (2026). Margin (machine learning). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/margin-machine-learning
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON