You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2018/07/15 22:08:30 UTC

spark git commit: Doc fix: The Imputer is an Estimator

Repository: spark
Updated Branches:
  refs/heads/master 960308763 -> 5d62a985d


Doc fix: The Imputer is an Estimator

Fixing the doc as the imputer is not a `Transformer` but an `Estimator`.

https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/ml/feature/Imputer.scala#L96-L97

## What changes were proposed in this pull request?

Simple documentation fix

## How was this patch tested?

manual testing

Please review http://spark.apache.org/contributing.html before opening a pull request.

Author: Zoltan C. Toth <zo...@gmail.com>

Closes #21755 from zoltanctoth/doc-imputer-is-estimator.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/5d62a985
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/5d62a985
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/5d62a985

Branch: refs/heads/master
Commit: 5d62a985dca9280f884e13e29fc7166ef13c459f
Parents: 9603087
Author: Zoltan C. Toth <zo...@gmail.com>
Authored: Sun Jul 15 17:08:26 2018 -0500
Committer: Sean Owen <sr...@gmail.com>
Committed: Sun Jul 15 17:08:26 2018 -0500

----------------------------------------------------------------------
 docs/ml-features.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/5d62a985/docs/ml-features.md
----------------------------------------------------------------------
diff --git a/docs/ml-features.md b/docs/ml-features.md
index 7aed234..ad6e718 100644
--- a/docs/ml-features.md
+++ b/docs/ml-features.md
@@ -1429,7 +1429,7 @@ for more details on the API.
 
 ## Imputer
 
-The `Imputer` transformer completes missing values in a dataset, either using the mean or the 
+The `Imputer` estimator completes missing values in a dataset, either using the mean or the 
 median of the columns in which the missing values are located. The input columns should be of
 `DoubleType` or `FloatType`. Currently `Imputer` does not support categorical features and possibly
 creates incorrect values for columns containing categorical features. Imputer can impute custom values 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org