learn/model families
Support vector machine
A support vector machine is a method that learns to draw the widest possible dividing line between groups of examples, and can also be adapted to predict numbers.
What it is
Imagine each measured thing as a dot in a space, with one direction for each measurement made of it. If dots of one kind sit mostly on one side and dots of another kind on the other, a boundary can be drawn between them. Many boundaries would separate the training dots equally well, so a support vector machine picks the one that leaves the widest clear gap on either side. The dots sitting right at the edge of that gap are the support vectors; they alone fix where the boundary goes, and the rest could be moved about without changing it.
Real groups rarely separate with a straight boundary. Two tricks handle that. First, the method is allowed to tolerate some dots on the wrong side, trading a few mistakes for a wider gap. Second, a kernel is used: a way of measuring how similar two examples are that behaves as though the dots had been spread out into a richer space where a straight boundary works, without ever building that space. A common choice, the radial basis function kernel, treats nearby examples as similar and distant ones as unrelated. The same machinery can be turned to predicting a quantity instead of a label, which is called support vector regression.
Why scientists use it
Scientists reach for it when they have few examples but many measurements for each one, which is ordinary in laboratory work where every sample costs time and material. Methods that estimate a great many internal settings tend to memorise small datasets. A support vector machine depends only on the examples at the margin, so it often behaves steadily when data are scarce. It also has few choices for the researcher to make: a kernel, how wide a gap to insist on, and how much error to tolerate.
It stands in, broadly, for a judgement a person might otherwise make by eye. Where a chemist might guess from experience which compositions will behave well, or a biologist might read a protein sequence for telltale patterns, the method fits a boundary from the cases already measured and applies it consistently to new ones. It is frequently used as a baseline too: if a simpler separating rule already does the job, more elaborate approaches have to earn their place.
In the record
Limits
The method gives a verdict without an explanation: because the kernel works in a space never written out, there is no simple account of which measurement mattered. Nor does it naturally report how confident it is, so uncertainty has to be estimated separately, often by refitting on resampled data. It grows slow and memory-hungry as examples multiply, and it is sensitive to the scale of each measurement, so unscaled inputs can quietly dominate. Above all, it only separates the cases it was shown; samples unlike anything in training are still assigned a side.
Written by AIxSci: the background from general knowledge, the examples from checked records.
By field
- Support vector machines in structural biology and protein science
- Support vector machines in materials and computational chemistry
- Support vector machines in astronomy and astrophysics
Every article
aix-00294
Neural network trained on simple equations spots tipping points in real data
aix-00273
Deep learning model flags bacterial proteins likely to drive infection
aix-00271
Machine learning predicts galaxy 'relicness' from survey measurements, cutting spectroscopy demand
aix-00163
Peptides designed by simulation and machine learning sit at condensate surfaces
aix-00170
Machine learning predicts strength of PLA plastic filled with boron nitride flakes
aix-00173
Machine learning predicts nanofibre thickness from electrospinning settings, tested against new scaffolds
aix-00133
Regression models predict how graphene loading changes aluminium's electron emission
aix-00181
Protein language model embeddings used to predict succinylation sites in proteins
aix-00188
Machine learning sorts antibody heavy chains by the germ they target
aix-00125
Classifying stars by type from a single wide-band telescope image
aix-00121
Machine learning sorts mitochondrial proteins into three compartments from sequence alone
aix-00112
Protein language model embeddings tested against classical descriptors for spotting resistance genes
aix-00108
Oxidation potentials for 15,238 molecules assembled from quantum calculations and lab measurements
aix-00107
Machine learning sorts plant protein sequences into disease-resistance proteins or not
aix-00081
Language models trained on protein sequences used to predict sugar-attachment sites
aix-00071
Simulations map how surface atoms rearrange in alloys when molecules attach
aix-00070
Neural network scores candidate composite microstructures in a strength–toughness design loop
aix-00068
Machine learning predicts marine steel corrosion from seawater conditions and alloy make-up
aix-00051
Ultrasound-treated clay bleaches cooking oil, with machine learning picking the settings
aix-00050
Machine learning tool flags protein helices likely to bind DNA or RNA
aix-00049
Eight machine learning methods sorted supernova gravitational wave signals by nuclear physics model
aix-00025
Machine learning picks a new metal mixture, which casting and X-rays confirm
aix-00016