You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:25:18 UTC

[jira] [Updated] (SPARK-7126) For spark.ml Classifiers, automatically index labels if they are not yet indexed

     [ https://issues.apache.org/jira/browse/SPARK-7126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-7126:
--------------------------------
    Labels: bulk-closed  (was: )

> For spark.ml Classifiers, automatically index labels if they are not yet indexed
> --------------------------------------------------------------------------------
>
>                 Key: SPARK-7126
>                 URL: https://issues.apache.org/jira/browse/SPARK-7126
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 1.4.0
>            Reporter: Joseph K. Bradley
>            Priority: Major
>              Labels: bulk-closed
>
> Now that we have StringIndexer, we could have spark.ml.classification.Classifier (the abstraction) automatically handle label indexing if the labels are not yet indexed.
> This would require a bit of design:
> * Should predict() output the original labels or the indices?
> * How should we notify users that the labels are being automatically indexed?
> * How should we provide that index to the users?
> * If multiple parts of a Pipeline automatically index labels, what do we need to do to make sure they are consistent?



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

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