Skip to content
Quantoros

What changes when passthrough=True is enabled in a stacking estimator?

Classic MLLevel: IntermediateMeta-model input design

What changes when passthrough=True is enabled in a stacking estimator?

Hints
  • Compare prediction-only and augmented inputs.
  • The final estimator now sees the original feature schema too.

Answer

The final estimator receives original features along with base-model predictions. This expands its capacity and preprocessing needs; it does not replace the need for leakage-safe base predictions.

Source and licence: scikit-learn 1.7.2 — ensemble · BSD-3-Clause · answer: Quantoros editorial

Related questions