Utilizing Support Vector Machines as a classification engine

Support Vector Machines (SVMs) are a family of extremely powerful models that can be used in classification and regression problems. In contrast to the preceding models, SVMs can handle highly nonlinear problems through a so-called kernel trick that implicitly maps the input vectors to higher-dimensional feature spaces. A broader explanation of SVMs can be found at http://www.statsoft.com/Textbook/Support-Vector-Machines.

Getting ready

To execute the following recipe, you will need Machine Learning PYthon (mlpy). The mlpy does not come with Anaconda so we need to install it manually. The mlpy requires GNU Scientific Library (GSL); on some systems, GSL might already be present, therefore, ...

Get Practical Data Analysis Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.