You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nick Pentreath (JIRA)" <ji...@apache.org> on 2016/03/03 07:56:18 UTC

[jira] [Commented] (SPARK-13568) Create feature transformer to impute missing values

    [ https://issues.apache.org/jira/browse/SPARK-13568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15177368#comment-15177368 ] 

Nick Pentreath commented on SPARK-13568:
----------------------------------------

Ok - the Imputer will need to compute column stats ignoring NaNs, so SPARK-13639 should add that (whether as default behaviour, or an optional argument)

> Create feature transformer to impute missing values
> ---------------------------------------------------
>
>                 Key: SPARK-13568
>                 URL: https://issues.apache.org/jira/browse/SPARK-13568
>             Project: Spark
>          Issue Type: New Feature
>          Components: ML
>            Reporter: Nick Pentreath
>            Priority: Minor
>
> It is quite common to encounter missing values in data sets. It would be useful to implement a {{Transformer}} that can impute missing data points, similar to e.g. {{Imputer}} in [scikit-learn|http://scikit-learn.org/dev/modules/preprocessing.html#imputation-of-missing-values].
> Initially, options for imputation could include {{mean}}, {{median}} and {{most frequent}}, but we could add various other approaches. Where possible existing DataFrame code can be used (e.g. for approximate quantiles etc).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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