aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorSean Owen <sowen@cloudera.com>2016-08-27 08:48:56 +0100
committerSean Owen <sowen@cloudera.com>2016-08-27 08:48:56 +0100
commite07baf14120bc94b783649dabf5fffea58bff0de (patch)
tree557979925874c18034e793057a9706c3ee6924fa /sql
parent9fbced5b25c2f24d50c50516b4b7737f7e3eaf86 (diff)
downloadspark-e07baf14120bc94b783649dabf5fffea58bff0de.tar.gz
spark-e07baf14120bc94b783649dabf5fffea58bff0de.tar.bz2
spark-e07baf14120bc94b783649dabf5fffea58bff0de.zip
[SPARK-17001][ML] Enable standardScaler to standardize sparse vectors when withMean=True
## What changes were proposed in this pull request? Allow centering / mean scaling of sparse vectors in StandardScaler, if requested. This is for compatibility with `VectorAssembler` in common usages. ## How was this patch tested? Jenkins tests, including new caes to reflect the new behavior. Author: Sean Owen <sowen@cloudera.com> Closes #14663 from srowen/SPARK-17001.
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions