Data Science, Machine Learning, Support Vector Machine, Python.
them using SVM. Assume that we are working with two features (x1, x2 or x=[x1, x2]ᵀ) and we must have in mind that for SVM the target class will be represented as 1 and -1 and not as 0 and 1 as usual (we will see why we need this). Also, assume we have a hyperplane that separates both classes in