Skip to content

Commit 50f0f4e

Browse files
committed
[DOCUMENTATION][MLLIB] typo in mllib doc
1 parent 96691fe commit 50f0f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ml-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ lInfNormData = normalizer.transform(dataFrame, {normalizer.p: float("inf")})
12321232
* `withStd`: True by default. Scales the data to unit standard deviation.
12331233
* `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.
12341234

1235-
`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.
1235+
`StandardScaler` is a `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.
12361236

12371237
Note that if the standard deviation of a feature is zero, it will return default `0.0` value in the `Vector` for that feature.
12381238

0 commit comments

Comments
 (0)