Skip to content
Quantoros

In IterativeImputer, what becomes the regression target while imputing a particular column?

Classic MLLevel: IntermediateChained imputation

In IterativeImputer, what becomes the regression target while imputing a particular column?

Hints
  • This temporary target is not the final task label.
  • Separate observed and missing rows of one feature.

Answer

That feature is the temporary target, with the other features as predictors. Fit on its observed entries, predict missing entries, and cycle through columns for multiple rounds.

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

Related questions