# maxabs_scale

### cuml.preprocessing.maxabs_scale(X, , axis=0, copy=True)[[source]](https://github.com/NVIDIA/cuml/blob/93418baf5/python/cuml/cuml/_thirdparty/sklearn/preprocessing/_data.py#L1149)

Scale each feature to the [-1, 1] range without breaking the sparsity.

This estimator scales each feature individually such
that the maximal absolute value of each feature in the
training set will be 1.0.

This scaler can also be applied to sparse CSR or CSC matrices.

* **Parameters:**
  **X**
  : The data.

  **axis**
  : axis used to scale along. If 0, independently scale each feature,
    otherwise (if 1) scale each sample.

  **copy**
  : Whether a forced copy will be triggered. If copy=False, a copy might
    be triggered by a conversion.

#### SEE ALSO
[`MaxAbsScaler`](../cuml.preprocessing.MaxAbsScaler/index.html.md#cuml.preprocessing.MaxAbsScaler)
: Performs scaling to the [-1, 1] range using the\`\`Transformer\`\` API

### Notes

NaNs are treated as missing values: disregarded to compute the statistics,
and maintained during the data transformation.

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