[ https://issues.apache.org/jira/browse/SPARK-11535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon updated SPARK-11535: --------------------------------- Labels: bulk-closed (was: ) > StringIndexer should handle empty String specially > -------------------------------------------------- > > Key: SPARK-11535 > URL: https://issues.apache.org/jira/browse/SPARK-11535 > Project: Spark > Issue Type: Improvement > Components: ML > Reporter: Joseph K. Bradley > Priority: Minor > Labels: bulk-closed > > StringIndexer will treat an empty string like any other string and index it > properly. However, the feature attribute name will be set to the empty > string, which causes a failure in OneHotEncoder. We should handle it > specially by calling it something like "(empty_string)" (and maybe append an > integer if that string already exists). > See [https://issues.apache.org/jira/browse/SPARK-10513] for a description of > the problem. -- 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