Book Image

Mastering Python Data Visualization

Book Image

Mastering Python Data Visualization

Overview of this book

Table of Contents (16 chapters)
Mastering Python Data Visualization
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Support vector machines


Support vector machines (SVM) are supervised learning methods that can be applied to regression or classification. These learning methods are an extension of nonlinear models, which empirically offers good performance and is successful in many applications, such as bioinformatics, text, image recognition, and so on. These methods are computationally inexpensive and easy to implement, but are prone to underfitting and may have low accuracy.

Let's understand the goal of SVM. The goal here is to map or find a pattern between x and y, where we want to perform the mapping from X Y (x ϵ X and y ϵ Y ). Here, x can be an object, whereas y can be a label. Another simple example is that X is an n-dimensional real value space, whereas y is a set of -1, 1.

A classic example of SVM is that when two pictures of a tiger and a human being are given, X becomes the set of pixel images, whereas Y becomes the label that answers the question, that is, "is this a tiger or a human...