# cuml.preprocessing

<!-- !! processed by numpydoc !! -->

| [`Binarizer`](../generated/cuml.preprocessing.Binarizer/index.html.md#cuml.preprocessing.Binarizer)                     | Binarize data (set feature values to 0 or 1) according to a threshold                                                                                                                                                                                              |
|-------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [`FunctionTransformer`](../generated/cuml.preprocessing.FunctionTransformer/index.html.md#cuml.preprocessing.FunctionTransformer) | Constructs a transformer from an arbitrary callable.                                                                                                                                                                                                               |
| [`KBinsDiscretizer`](../generated/cuml.preprocessing.KBinsDiscretizer/index.html.md#cuml.preprocessing.KBinsDiscretizer)       | Bin continuous data into intervals.                                                                                                                                                                                                                                |
| [`KernelCenterer`](../generated/cuml.preprocessing.KernelCenterer/index.html.md#cuml.preprocessing.KernelCenterer)           | Center a kernel matrix                                                                                                                                                                                                                                             |
| [`LabelBinarizer`](../generated/cuml.preprocessing.LabelBinarizer/index.html.md#cuml.preprocessing.LabelBinarizer)           | Binarize labels in a one-vs-all fashion.                                                                                                                                                                                                                           |
| [`LabelEncoder`](../generated/cuml.preprocessing.LabelEncoder/index.html.md#cuml.preprocessing.LabelEncoder)               | Encode target labels with values between 0 and n_classes - 1.                                                                                                                                                                                                      |
| [`MaxAbsScaler`](../generated/cuml.preprocessing.MaxAbsScaler/index.html.md#cuml.preprocessing.MaxAbsScaler)               | Scale each feature by its maximum absolute value.                                                                                                                                                                                                                  |
| [`MinMaxScaler`](../generated/cuml.preprocessing.MinMaxScaler/index.html.md#cuml.preprocessing.MinMaxScaler)               | Transform features by scaling each feature to a given range.                                                                                                                                                                                                       |
| [`MissingIndicator`](../generated/cuml.preprocessing.MissingIndicator/index.html.md#cuml.preprocessing.MissingIndicator)       | Binary indicators for missing values.                                                                                                                                                                                                                              |
| [`Normalizer`](../generated/cuml.preprocessing.Normalizer/index.html.md#cuml.preprocessing.Normalizer)                   | Normalize samples individually to unit norm.                                                                                                                                                                                                                       |
| [`OneHotEncoder`](../generated/cuml.preprocessing.OneHotEncoder/index.html.md#cuml.preprocessing.OneHotEncoder)             | Encode categorical features as a one-hot numeric array.                                                                                                                                                                                                            |
| [`OrdinalEncoder`](../generated/cuml.preprocessing.OrdinalEncoder/index.html.md#cuml.preprocessing.OrdinalEncoder)           | Encode categorical features as an integer array.                                                                                                                                                                                                                   |
| [`PolynomialFeatures`](../generated/cuml.preprocessing.PolynomialFeatures/index.html.md#cuml.preprocessing.PolynomialFeatures)   | Generate polynomial and interaction features.                                                                                                                                                                                                                      |
| [`PowerTransformer`](../generated/cuml.preprocessing.PowerTransformer/index.html.md#cuml.preprocessing.PowerTransformer)       | Apply a power transform featurewise to make data more Gaussian-like.                                                                                                                                                                                               |
| [`QuantileTransformer`](../generated/cuml.preprocessing.QuantileTransformer/index.html.md#cuml.preprocessing.QuantileTransformer) | Transform features using quantiles information.                                                                                                                                                                                                                    |
| [`RobustScaler`](../generated/cuml.preprocessing.RobustScaler/index.html.md#cuml.preprocessing.RobustScaler)               | Scale features using statistics that are robust to outliers.                                                                                                                                                                                                       |
| [`SimpleImputer`](../generated/cuml.preprocessing.SimpleImputer/index.html.md#cuml.preprocessing.SimpleImputer)             | Imputation transformer for completing missing values.                                                                                                                                                                                                              |
| [`StandardScaler`](../generated/cuml.preprocessing.StandardScaler/index.html.md#cuml.preprocessing.StandardScaler)           | Standardize features by removing the mean and scaling to unit variance                                                                                                                                                                                             |
| [`TargetEncoder`](../generated/cuml.preprocessing.TargetEncoder/index.html.md#cuml.preprocessing.TargetEncoder)             | A cudf based implementation of target encoding [[R331d970812b4-1]](../generated/cuml.preprocessing.TargetEncoder/index.html.md#r331d970812b4-1), which converts one or multiple categorical variables, 'Xs', with the average of corresponding values of the target variable, 'Y'. |
| [`add_dummy_feature`](../generated/cuml.preprocessing.add_dummy_feature/index.html.md#cuml.preprocessing.add_dummy_feature)     | Augment dataset with an additional dummy feature.                                                                                                                                                                                                                  |
| [`binarize`](../generated/cuml.preprocessing.binarize/index.html.md#cuml.preprocessing.binarize)                       | Boolean thresholding of array-like or sparse matrix                                                                                                                                                                                                                |
| [`label_binarize`](../generated/cuml.preprocessing.label_binarize/index.html.md#cuml.preprocessing.label_binarize)           | Binarize labels in a one-vs-all fashion.                                                                                                                                                                                                                           |
| [`maxabs_scale`](../generated/cuml.preprocessing.maxabs_scale/index.html.md#cuml.preprocessing.maxabs_scale)               | Scale each feature to the [-1, 1] range without breaking the sparsity.                                                                                                                                                                                             |
| [`minmax_scale`](../generated/cuml.preprocessing.minmax_scale/index.html.md#cuml.preprocessing.minmax_scale)               | Transform features by scaling each feature to a given range.                                                                                                                                                                                                       |
| [`normalize`](../generated/cuml.preprocessing.normalize/index.html.md#cuml.preprocessing.normalize)                     | Scale input vectors individually to unit norm (vector length).                                                                                                                                                                                                     |
| [`robust_scale`](../generated/cuml.preprocessing.robust_scale/index.html.md#cuml.preprocessing.robust_scale)               | Standardize a dataset along any axis                                                                                                                                                                                                                               |
| [`scale`](../generated/cuml.preprocessing.scale/index.html.md#cuml.preprocessing.scale)                             | Standardize a dataset along any axis                                                                                                                                                                                                                               |
