Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-24719

ClusteringEvaluator supports integer type labels

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 2.3.1
    • None
    • ML
    • None

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            mengxr Xiangrui Meng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: