SMOTE
SMOTE is an oversampling technique that generates synthetic examples for a minority class by interpolating between existing minority-class examples and their nearest neighbors.
Build AI Drug Discovery Pipelines
SMOTE is an oversampling technique that creates synthetic minority-class instances along line segments connecting existing minority-class instances.
- How it is used
- Mitigates class imbalance during training so classification learning is not dominated by the majority class.
- How deep it goes
- Defines synthetic-instance generation and contrasts sampling trade-offs, while deferring advanced SMOTE variants.
- Examples
- Uses a training-set class-composition figure and recommends the imblearn library for applying SMOTE.
- What you can do after
- Apply it via the imblearn library to generate minority-class training instances without simple duplication.
The AI Pocket Book
A data augmentation technique that generates additional minority-class examples by combining existing ones.
- How it is used
- Balances training data by synthesizing more minority-class examples.
- How deep it goes
- Explains the basic mechanism and its limitation, but stops short of a detailed algorithm.
- Examples
- Uses credit card fraud as the concrete example and contrasts it with other fake-data ideas.
- What you can do after
- Apply it to reduce class imbalance in a training set, while recognizing it cannot invent new signal.
Also covered in
- Graph Neural Networks in Action
- Machine Learning Algorithms in Depth
- The Art of AI Product Development
What to know first
- cost-sensitive learningCost-sensitive learning incorporates unequal costs for different prediction errors into model training or decision-making.
- f-scoreAn F-score is a classification metric that combines precision and recall through a weighted harmonic mean; F1 weights them equally.
- precisionPrecision is the proportion of items predicted, selected, or retrieved as positive that are correct or relevant.
Related concepts
- pipelineused by · A pipeline is an ordered sequence of connected processing stages through which data or work flows, with each stage passing or transforming its output for subsequent stages.
- class imbalanceaddresses · Class imbalance is a condition in a classification dataset where classes have substantially unequal numbers of examples.
- upsamplingkind of · Upsampling is a process that increases the number, density, or spatial or temporal resolution of samples or values in a dataset or representation by adding, duplicating, or estimating them.
Questions about SMOTE
What is SMOTE?
SMOTE is an oversampling technique that generates synthetic examples for a minority class by interpolating between existing minority-class examples and their nearest neighbors.
Which Manning books explain SMOTE?
Build AI Drug Discovery Pipelines and The AI Pocket Book.
What should I know before learning SMOTE?
Manning books that teach SMOTE usually introduce cost-sensitive learning, f-score, precision and Tomek link first.
What is the difference between SMOTE and GraphSMOTE?
SMOTE is an oversampling technique that generates synthetic examples for a minority class by interpolating between existing minority-class examples and their nearest neighbors. GraphSMOTE is a graph-based oversampling technique that synthesizes minority-class nodes while accounting for graph structure.
What is SMOTE a kind of?
SMOTE is a kind of upsampling. Upsampling is a process that increases the number, density, or spatial or temporal resolution of samples or values in a dataset or representation by adding, duplicating, or estimating them.
What is SMOTE also called?
SMOTE is also called synthetic minority oversampling technique.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

