ArticleslgStudy

computer science

Support vector machine

Support vector machine is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Support vector machine rather than just read about it. In short: In machine learning, a support vector machine (SVM) or support vector network is a supervised max-margin model with associated learning algorithms that analyze data for classification and regression analysis. Developed at AT&T Bell Laboratories, SVMs are one of the most studied models, being based on statistical learning frameworks of VC theory proposed by Vapnik (1982, 1995) and Chervonenkis (1974).

Support vector machine — main illustration
Support vector machine — illustration

Key takeaways

  • Support vector machine belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Support vector machine to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Support vector machine from memory before moving on to harder problems.

Reference excerpt

In machine learning, a support vector machine (SVM) or support vector network is a supervised max-margin model with associated learning algorithms that analyze data for classification and regression analysis. Developed at AT&T Bell Laboratories, SVMs are one of the most studied models, being based on statistical learning frameworks of VC theory proposed by Vapnik (1982, 1995) and Chervonenkis (1974). In addition to performing linear classification, SVMs can efficiently perform non-linear classification using the kernel trick, representing the data only through a set of pairwise similarity comparisons between the original data points using a kernel function, which transforms them into coordinates in a higher-dimensional feature space. Thus, SVMs use the kernel trick to implicitly map their inputs into high-dimensional feature spaces, where linear classification can be performed. Being max-margin models, SVMs are resilient to noisy data (e.g., misclassified examples). SVMs can also be used for regression tasks, where the objective becomes ϵ {\displaystyle \epsilon } -sensitive. The support vector clustering algorithm, created by Hava Siegelmann and Vladimir Vapnik, applies the statistics of support vectors, developed in the support vector machines algorithm, to categorize unlabeled data. These data sets require unsupervised learning approaches, which attempt to find natural clustering of the data into groups, and then to map new data according to these clusters. The popularity of SVMs is likely due to their amenability to theoretical analysis, and their flexibility in being applied to a wide variety of tasks, including structured prediction problems. It is not clear that SVMs have better predictive performance than other linear models, such as logistic regression and linear regression.

Motivation

… excerpt ends here. Continue reading the full article.

Illustrations

Support vector machine: Maximum-margin hyperplane and margins for an SVM trained with samples from two classes. Samples on the margin are called the support vectors.
Maximum-margin hyperplane and margins for an SVM trained with samples from two classes. Samples on the margin are called the support vectors.
Support vector machine: Kernel machine
Kernel machine
Support vector machine: A training example of SVM with kernel given by φ((a, b)) = (a, b, a2 + b2)
A training example of SVM with kernel given by φ((a, b)) = (a, b, a2 + b2)
Support vector machine: Support vector regression (prediction) with different thresholds ε. As ε increases, the prediction becomes less sensitive to errors.
Support vector regression (prediction) with different thresholds ε. As ε increases, the prediction becomes less sensitive to errors.

Worked examples

Example 1 — a first encounter with Support vector machine

Start with the simplest possible case. Write down what Support vector machine claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Support vector machine before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Support vector machine ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Support vector machine

In research
Support vector machine appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Support vector machine in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Support vector machine is common in secondary-school and first-year university syllabi. It links to neighbouring topics Classification algorithms, Convex optimization, Kernel methods for machine learning, so understanding it makes those chapters shorter.
In everyday life
Look for Support vector machine outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Support vector machine in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Support vector machine means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Support vector machine out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Support vector machine in simple terms?

In machine learning, a support vector machine (SVM) or support vector network is a supervised max-margin model with associated learning algorithms that analyze data for classification and regression analysis. Developed at AT&T Bell Laboratories, SVMs are one of the most studied models, being based…

Why does Support vector machine matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Support vector machine?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Support vector machine.

Tags

  • Classification algorithms
  • Convex optimization
  • Kernel methods for machine learning
  • Machine learning algorithms
  • Statistical classification
  • Support vector machines

Keep exploring