You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2018/08/02 06:57:00 UTC

[jira] [Commented] (SPARK-24719) ClusteringEvaluator supports integer type labels

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

Xiangrui Meng commented on SPARK-24719:
---------------------------------------

[~mgaido] Sorry it was my bad! The error happened when a user tried BisectingKMeans with ClusterEvaluator and CrossValidator. So I reported the issue here. The error was actually from DoubleParam instead of the evaluator. I'll do some investigation. Closing this ticket for now. Thanks for taking a look!

> ClusteringEvaluator supports integer type labels
> ------------------------------------------------
>
>                 Key: SPARK-24719
>                 URL: https://issues.apache.org/jira/browse/SPARK-24719
>             Project: Spark
>          Issue Type: Bug
>          Components: ML
>    Affects Versions: 2.3.1
>            Reporter: Xiangrui Meng
>            Priority: Major
>
> ClusterEvaluator should support integer labels because we output integer labels in BisectingKMeans. [https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/ml/clustering/BisectingKMeans.scala#L77]. We should cast numeric types to double in ClusteringEvaluator.
> [~mgaido] Do you have time to work on the fix?



--
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