~/aixsci
weekly updates

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

Every article

23articles
9structural-biology
10materials-chemistry
3astronomy
1climate-weather

aix-00294

Neural network trained on simple equations spots tipping points in real data

classificationforecasting

climate-weather · ai-result · Royal Society Open Science · 2022

aix-00273

Deep learning model flags bacterial proteins likely to drive infection

classificationstructure determination

structural-biology · ai-result · Bioinformatics · 2026

aix-00271

Machine learning predicts galaxy 'relicness' from survey measurements, cutting spectroscopy demand

property predictionclassification

astronomy · ai-result · Monthly Notices of the Royal Astronomical Society · 2026

aix-00163

Peptides designed by simulation and machine learning sit at condensate surfaces

simulation surrogateproperty predictioncandidate generationexperimental design

structural-biology · ai-result · Nature Communications · 2026

aix-00170

Machine learning predicts strength of PLA plastic filled with boron nitride flakes

property prediction

materials-chemistry · ai-supporting · Polymers · 2026

aix-00173

Machine learning predicts nanofibre thickness from electrospinning settings, tested against new scaffolds

property prediction

materials-chemistry · ai-result · Frontiers in Bioengineering and Biotechnology · 2026

aix-00133

Regression models predict how graphene loading changes aluminium's electron emission

property prediction

materials-chemistry · ai-result · Scientific Reports · 2025

aix-00181

Protein language model embeddings used to predict succinylation sites in proteins

classification

structural-biology · ai-result · Scientific Reports · 2022

aix-00188

Machine learning sorts antibody heavy chains by the germ they target

classification

structural-biology · ai-result · PLoS ONE · 2026

aix-00125

Classifying stars by type from a single wide-band telescope image

classificationstructure determination

astronomy · ai-result · Astronomy and Astrophysics · 2025

aix-00121

Machine learning sorts mitochondrial proteins into three compartments from sequence alone

classification

structural-biology · ai-result · Journal of Environmental and Public Health · 2022

aix-00112

Protein language model embeddings tested against classical descriptors for spotting resistance genes

classificationstructure determination

structural-biology · ai-result · Frontiers in Microbiology · 2026

aix-00108

Oxidation potentials for 15,238 molecules assembled from quantum calculations and lab measurements

property prediction

materials-chemistry · ai-supporting · Journal of Chemical Information and Modeling · 2025

aix-00107

Machine learning sorts plant protein sequences into disease-resistance proteins or not

classification

structural-biology · ai-result · Frontiers in Plant Science · 2022

aix-00081

Language models trained on protein sequences used to predict sugar-attachment sites

classification

structural-biology · ai-result · Bioinformatics Advances · 2024

aix-00071

Simulations map how surface atoms rearrange in alloys when molecules attach

property prediction

materials-chemistry · ai-supporting · The Journal of Physical Chemistry C · 2023

aix-00070

Neural network scores candidate composite microstructures in a strength–toughness design loop

property predictionsimulation surrogatecandidate generation

materials-chemistry · ai-result · Advanced Science · 2026

aix-00068

Machine learning predicts marine steel corrosion from seawater conditions and alloy make-up

property predictioncandidate generation

materials-chemistry · ai-result · Materials · 2025

aix-00051

Ultrasound-treated clay bleaches cooking oil, with machine learning picking the settings

property predictionexperimental design

materials-chemistry · ai-supporting · Food Science & Nutrition · 2024

aix-00050

Machine learning tool flags protein helices likely to bind DNA or RNA

classification

structural-biology · ai-result · Journal of Chemical Information and Modeling · 2025

aix-00049

Eight machine learning methods sorted supernova gravitational wave signals by nuclear physics model

classification

astronomy · ai-result · Machine Learning Science and Technology · 2024

aix-00025

Machine learning picks a new metal mixture, which casting and X-rays confirm

classification

materials-chemistry · ai-result · Scientific Reports · 2023

aix-00016

Machine learning picked which shape-memory alloys to make next, round by round

property predictionexperimental design

materials-chemistry · ai-result · Nature Communications · 2016