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 2017/10/27 15:41:00 UTC

[jira] [Commented] (SPARK-12375) VectorIndexer: allow unknown categories

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

Apache Spark commented on SPARK-12375:
--------------------------------------

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

> VectorIndexer: allow unknown categories
> ---------------------------------------
>
>                 Key: SPARK-12375
>                 URL: https://issues.apache.org/jira/browse/SPARK-12375
>             Project: Spark
>          Issue Type: Sub-task
>          Components: ML
>            Reporter: Joseph K. Bradley
>            Assignee: yuhao yang
>
> Add option for allowing unknown categories, probably via a parameter like "allowUnknownCategories."
> If true, then handle unknown categories during transform by assigning them to an extra category index.
> The API should resemble the API used for StringIndexer.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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