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

Haopu Wang commented on SPARK-17498:
------------------------------------

After this fix, the reverse transformation "IndexToString" still complains 
"Unseen index: 3.0 ??" for the indexes of unseen labels, any idea to fix it?

> StringIndexer.setHandleInvalid should have another option 'new'
> ---------------------------------------------------------------
>
>                 Key: SPARK-17498
>                 URL: https://issues.apache.org/jira/browse/SPARK-17498
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>            Reporter: Miroslav Balaz
>            Assignee: Vincent
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> That will map unseen label to maximum known label +1, IndexToString would map 
> that back to "<undef>" or NA if there is something like that in spark,



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to