[
https://issues.apache.org/jira/browse/SPARK-13028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiangrui Meng resolved SPARK-13028.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Issue resolved by pull request 10939
[https://github.com/apache/spark/pull/10939]
> Add MaxAbsScaler to ML.feature as a transformer
> -----------------------------------------------
>
> Key: SPARK-13028
> URL: https://issues.apache.org/jira/browse/SPARK-13028
> Project: Spark
> Issue Type: New Feature
> Components: ML
> Reporter: yuhao yang
> Assignee: yuhao yang
> Priority: Minor
> Fix For: 2.0.0
>
>
> MaxAbsScaler works in a very similar way as MinMaxScaler, but scales in a way
> that the training data lies within the range [-1, 1] by dividing through the
> largest maximum value in each feature. The motivation to use this scaling
> include robustness to very small standard deviations of features and
> preserving zero entries in sparse data.
> Unlike StandardScaler and MinMaxScaler, MaxAbsScaler does not shift/center
> the data, and thus does not destroy any sparsity.
> Something similar from sklearn:
> http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.MaxAbsScaler.html#sklearn.preprocessing.MaxAbsScaler
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]