You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/04/14 05:55:25 UTC

[jira] [Assigned] (SPARK-14623) add label binarizer

     [ https://issues.apache.org/jira/browse/SPARK-14623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-14623:
------------------------------------

    Assignee: Apache Spark

> add label binarizer 
> --------------------
>
>                 Key: SPARK-14623
>                 URL: https://issues.apache.org/jira/browse/SPARK-14623
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 1.6.1
>            Reporter: hujiayin
>            Assignee: Apache Spark
>            Priority: Minor
>             Fix For: 2.0.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> It relates to https://issues.apache.org/jira/browse/SPARK-7445
> Map the labels to 0/1. 
> For example,
> Input:
> "yellow,green,red,green,0"
> The labels: "0, green, red, yellow"
> Output:
> 0, 0, 0, 0, 1, 
> 0, 1, 0, 1, 0, 
> 0, 0, 1, 0, 0, 
> 1, 0, 0, 0, 0



--
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