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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.1, 2.2.0
    • ML, SparkR
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: