Home › Resources & tools › SVMs in practice

SVMs in practice

Binary classification is a type of supervised learning that involves prediction over two classes. Examples of binary classification problems include determining whether an email is spam or "ham" (non-spam), or whether or not a customer is likely to convert based on how they have engaged with promotional material.

Support vector machines, or SVMs for short, are a common binary classification technique known for its versatility and robustness. In a nutshell, SVMs rely on constructing the boundary that creates maximum separation between the two classes—the one that has maximum margin from the nearest points of the classes.

Compared to other binary classification approaches, SVM models exhibit good generalisation, perform well on high-dimensional data, and are known to be easier to interpret. On the other hand, due to their non-probabilistic nature, ordinary SVMs do not directly output probability distributions or confidence scores over classes.

As with all binary classifiers, the performance of SVMs can be quantified using a variety of metrics such as precision, recall (sensitivity), and specificity (selectivity). In general, dimensionality reduction is often employed to boost the accuracy and performance of all types of predictive models, including SVMs.

SVMs are available in a number of well-known machine learning libraries such as Python's scikit-learn. Internally, scikit-learn utilises libsvm and liblinear that are implemented in C++ to efficiently handle all computations.

See also

pharmacy IPA Transcription Poster
$14.99

A poster featuring the phonetic transcription of "pharmacy" in the International Phonetic Alphabet (IPA).

"Hello, World!" Code Snippet Poster, JavaScript Programming Language
$14.99

A poster featuring the "Hello, World!" program in JavaScript programming language.

Italian Alphabet Poster, English-Labeled
$17.99

The Italian alphabet chart.

Big Chinese Characters
$29.99

A collection of large-format Chinese characters.

переводчик Morphemic Analysis Poster
$14.99

A poster featuring the morphemic analysis of the Russian word переводчик.

A technical introduction to OpenAI's GPT-3 language model

An overview of the groundbreaking GPT-3 language model created by OpenAI.

A beginner's guide to graph embeddings

Understanding what graph embeddings are and why they are important for graph analytics.

seq2seq Trainer

Train sequence-to-sequence models online.

TensorFlow.js and linear regression

Building and training simple linear regression models in JavaScript using TensorFlow.js.

Face Detector

A demo of a face detection service.

All prices listed are in United States Dollars (USD). Visual representations of products are intended for illustrative purposes. Actual products may exhibit variations in color, texture, or other characteristics inherent to the manufacturing process. The products' design and underlying technology are protected by applicable intellectual property laws. Unauthorized reproduction or distribution is prohibited.