Machine Learning, Support Vector Machine, Optimization, Data Science, Technology.
you can create an objective function like the following, soft-margin SVM: The goal of this objective function is to ensure that all points are correctly classified (the first constraint). But if a point n cannot be correctly classified, then you can set the slack ξ_n to something greater than zero