> For the complete documentation index, see [llms.txt](https://hwasumok.gitbook.io/r-flow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hwasumok.gitbook.io/r-flow/python/data-preprocess/data-scaler.md).

# Data Scaler

MaxAbsScaler/MinMaxScaler /RobustScaler/StandardScaler

## Common

### Input Data

|                   | Inputs                                                                                                                                                                                         |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **\*Target Data** | Data input                                                                                                                                                                                     |
| **\*Output Name** | Name of the scaled data                                                                                                                                                                        |
| **\*Scaler**      | Name of the user-defined scaler module                                                                                                                                                         |
| **\*x (numeric)** | <p>Columns (variables) to be scaled by the scaler</p><p>Columns should be correctly formatted for the user-defined scaler method.</p><ul><li>One or more columns should be selected.</li></ul> |

![\[Task information of MaxAbsScaler\]](https://3929524962-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MGaxNdSdRN_L_WNiX4I%2F-MKYgSKCF_mdty7nYixH%2F-MKYghc2cbz5J5eDTtZq%2Fimage.png?alt=media\&token=2fca9e40-442a-4184-969b-47ff4a232ff6)

## Workflow Example

![](https://3929524962-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MGaxNdSdRN_L_WNiX4I%2F-ML_KUny6BC2BcnXio9S%2F-ML_mVb_XMJcT_pLb5ce%2Fimage.png?alt=media\&token=f0d73337-b8ff-4361-aa11-c5aa9a6810f3)

## Python Package

**MaxAbsScaler**: [https://scikitlearn.org/stable/modules/generated/sklearn.preprocessing.MaxAbsScaler.html](https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.MinMaxScaler.html)

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

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

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