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

ClusteringEvaluator supports integer type labels

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.3.1
    • Fix Version/s: None
    • Component/s: ML
    • Labels:
      None
    • Target Version/s:

      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.

      Marco Gaido Do you have time to work on the fix?

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: