---
description: SimpleImputer/IterativeImputer/KNNImputer
---

# Missing Data Imputer

## Common

### Input Data

|                   | Inputs                                                                                                                                                                                                                                                                                                                 |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **\*Target Data** | Data input                                                                                                                                                                                                                                                                                                             |
| **\*Output Name** | Name of the cleansed data after imputation                                                                                                                                                                                                                                                                             |
| **\*Imputer**     | Name of the user-defined imputer module                                                                                                                                                                                                                                                                                |
| **\*x**           | <p>Columns (variables) to be cleansed by the imputer</p><p>Columns should be correctly formatted for the user-defined imputation method.</p><ul><li><p><strong>Data type:</strong></p><ul><li>SimpleImputer: all data type,</li><li>else: numeric.</li></ul></li><li>One or more columns should be selected.</li></ul> |

### Variable Attributes

* **Data Type** : Data type of the column (variable); e.g) int64, float64, Object, etc.
* **Missing**: # of missing values in the column (variable).

![\[Task information of IterativeImputer\]](https://3929524962-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MGaxNdSdRN_L_WNiX4I%2F-MKYglvfLjKB-nzwnFu_%2F-MKYh6CZxFT90dOu92Ew%2Fimage.png?alt=media\&token=9ed9deb4-9f8d-47da-a515-b95c9d78688c)

## Python Package

**SimpleImputer**: [https://scikit-learn.org/stable/modules/generated/sklearn.impute.SimpleImputer.html](https://scikit-learn.org/stable/modules/generated/sklearn.impute.SimpleImputer.html)

**IterativeImputer**: [https://scikit-learn.org/stable/modules/generated/sklearn.impute.IterativeImputer.html](https://scikit-learn.org/stable/modules/generated/sklearn.impute.IterativeImputer.html?highlight=iterativeimputer)

**KNNImputer**: [https://scikit-learn.org/stable/modules/generated/sklearn.impute.KNNImputer.html](https://scikit-learn.org/stable/modules/generated/sklearn.impute.KNNImputer.html)

