aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJeff Zhang <zjffdu@apache.org>2015-12-03 15:36:28 +0000
committerSean Owen <sowen@cloudera.com>2015-12-03 15:36:28 +0000
commit7470d9edbb0a45e714c96b5d55eff30724c0653a (patch)
tree01049d86312dc6fc7ad0d1cf5329da4014e88e02 /docs
parent5349851f368a1b5dab8a99c0d51c9638ce7aec56 (diff)
downloadspark-7470d9edbb0a45e714c96b5d55eff30724c0653a.tar.gz
spark-7470d9edbb0a45e714c96b5d55eff30724c0653a.tar.bz2
spark-7470d9edbb0a45e714c96b5d55eff30724c0653a.zip
[DOCUMENTATION][MLLIB] typo in mllib doc
\cc mengxr Author: Jeff Zhang <zjffdu@apache.org> Closes #10093 from zjffdu/mllib_typo.
Diffstat (limited to 'docs')
-rw-r--r--docs/ml-features.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ml-features.md b/docs/ml-features.md
index 5f88877555..05c2c96c5e 100644
--- a/docs/ml-features.md
+++ b/docs/ml-features.md
@@ -1232,7 +1232,7 @@ lInfNormData = normalizer.transform(dataFrame, {normalizer.p: float("inf")})
* `withStd`: True by default. Scales the data to unit standard deviation.
* `withMean`: False by default. Centers the data with mean before scaling. It will build a dense output, so this does not work on sparse input and will raise an exception.
-`StandardScaler` is a `Model` which can be `fit` on a dataset to produce a `StandardScalerModel`; this amounts to computing summary statistics. The model can then transform a `Vector` column in a dataset to have unit standard deviation and/or zero mean features.
+`StandardScaler` is an `Estimator` which can be `fit` on a dataset to produce a `StandardScalerModel`; this amounts to computing summary statistics. The model can then transform a `Vector` column in a dataset to have unit standard deviation and/or zero mean features.
Note that if the standard deviation of a feature is zero, it will return default `0.0` value in the `Vector` for that feature.