hardmargin
Hard margin is a term used in machine learning, most often in the context of support vector machines (SVM). A hard-margin classifier seeks a linear decision boundary that strictly separates the training examples of the two classes, with no misclassifications. It relies on the assumption that the data are linearly separable with a positive margin and aims to maximize that margin between the classes.
In a hard-margin linear SVM, given training data (x_i, y_i) with y_i in {+1, -1}, the goal
Hard margins require that the data be perfectly linearly separable; otherwise, no feasible solution exists. The
Relation to soft margin: soft-margin SVMs allow misclassifications via slack variables and a regularization parameter C