An SVM provides a variety of options to build a nonlinear classifier. We need to build a nonlinear classifier using various kernels. In this recipe, let's consider two cases here. When we want to represent a curvy boundary between two sets of points, we can either do this using a polynomial function or a radial basis function.
Building a nonlinear classifier using SVMs
Getting ready
In this recipe, we will use the same file used in the previous recipe, Building a linear classifier using SVMs, but in this case, we will use a different kernel to deal with a markedly nonlinear problem.