Github user MLnick commented on a diff in the pull request: https://github.com/apache/spark/pull/17324#discussion_r108156614 --- Diff: docs/ml-features.md --- @@ -1284,6 +1284,64 @@ for more details on the API. </div> + +## Imputer + +The `Imputer` transformer completes missing values in the dataset, either using the mean or the +median of the columns in which the missing value are located. The input columns should be of +`DoubleType` or `FloatType`. Currently `Imputer` does not support categorical features and possibly +creates incorrect values for a categorical feature. --- End diff -- "... creates incorrect values for columns containing categorical features."
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org