How do you avoid leakage when training a stacking model?
Reveal the answer and explore the explanation.
08MediumHow do you avoid leakage when training a stacking model?
Answer
Medium
How do you avoid leakage when training a stacking model?
Answer
Trains a meta-model on predictions of base estimators, typically out-of-fold.
Practical example
Combine tree and linear model predictions using a second-level model.
Reference: Further reading ↗