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

Apache Spark commented on SPARK-6965:
-------------------------------------

User 'mengxr' has created a pull request for this issue:
https://github.com/apache/spark/pull/5753

> StringIndexer should convert input to Strings
> ---------------------------------------------
>
>                 Key: SPARK-6965
>                 URL: https://issues.apache.org/jira/browse/SPARK-6965
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 1.4.0
>            Reporter: Joseph K. Bradley
>            Assignee: Xiangrui Meng
>            Priority: Minor
>
> StringIndexer should convert non-String input types to String.  That way, it 
> can handle any basic types such as Int, Double, etc.
> It can convert any input type to strings first and store the string labels 
> (instead of an arbitrary type).  That will simplify model export/import.



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

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

Reply via email to