Stacking and blending
What it is
Trains a meta-model on the out-of-fold predictions of several base models.
When to use it
Squeezing the last fraction of accuracy out of a modelling competition or a high-stakes tabular task.
Caveats
Easy to leak validation data into; always build the meta-features out-of-fold.
Key ideas
- Trains a meta-model on the predictions of several base models
- Stacking uses out-of-fold predictions; blending uses a single holdout set
- Works best when the base models make different kinds of errors
Related architectures
Original paper
Stacked generalization (1992, DOI)