Missing Values, Exactly
Explicit missingness masks, train-only mean and mode imputation, indicator columns, and what imputation cannot recover.
Missing Values Step by Step
Keep missing entries visible, fit replacement statistics on training rows only, and preserve missingness indicators.
- Missing Cells Stay Visible
explicit binary masks that keep unrecorded entries distinct from zero
- Numeric Missing Uses the Mean
train-only observed mean imputation for a numeric feature column
- Categorical Missing Uses the Mode
train-only mode imputation on integer-encoded category labels
- Fill the Displayed Table
column-specific train-only fill rules combined into one complete matrix
- Add Missingness Indicators
preserve the fact of absence alongside each filled column
- What Missing Handling Is and Is Not
finite arithmetic and honest scoring, not recovery of unseen truth