Github user mengxr commented on a diff in the pull request: https://github.com/apache/spark/pull/21218#discussion_r187187071 --- Diff: mllib/src/main/scala/org/apache/spark/ml/clustering/BisectingKMeans.scala --- @@ -278,6 +279,7 @@ class BisectingKMeans @Since("2.0.0") ( val summary = new BisectingKMeansSummary( model.transform(dataset), $(predictionCol), $(featuresCol), $(k)) model.setSummary(Some(summary)) + instr.logNamedValue("clusterSizes", summary.clusterSizes.mkString(", ")) --- End diff -- sg. @ludatabricks could you update the value to `mkString("[", ",", "]")` for now and leave a TODO to extend `logNamedValue`?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org