[ https://issues.apache.org/jira/browse/SPARK-10835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sumit Chawla updated SPARK-10835: --------------------------------- Description: Currently output type of NGram is Array(String, false), which is not compatible with LDA since their input type is Array(String, true). was: Currently output type of Tokenizer is Array(String, false), which is not compatible with Word2Vec and Other transformers since their input type is Array(String, true). Seq[String] in udf will be treated as Array(String, true) by default. I'm also thinking for Nullable columns, maybe tokenizer should return Array(null) for null value in the input. > Change Output of NGram to Array(String, True) > --------------------------------------------- > > Key: SPARK-10835 > URL: https://issues.apache.org/jira/browse/SPARK-10835 > Project: Spark > Issue Type: Improvement > Components: ML > Reporter: Sumit Chawla > Assignee: yuhao yang > Priority: Minor > Fix For: 1.5.0 > > > Currently output type of NGram is Array(String, false), which is not > compatible with LDA since their input type is Array(String, true). -- 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