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

SparkR Kmeans summary returns error when the cluster size doesn't equal to k

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.1, 2.2.0
    • Component/s: ML, SparkR
    • Labels:
      None

      Description

      When Kmeans using initMode = "random" and some random seed, it is possible the actual cluster size doesn't equal to the configured `k`.

      In this case, summary(model) returns error due to the number of cols of coefficient matrix doesn't equal to k.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wm624 Miao Wang
                Reporter:
                wm624 Miao Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: