srowen commented on a change in pull request #22764: [SPARK-25765][ML] Add 
training cost to BisectingKMeans summary
URL: https://github.com/apache/spark/pull/22764#discussion_r242575242
 
 

 ##########
 File path: 
mllib/src/main/scala/org/apache/spark/ml/clustering/BisectingKMeans.scala
 ##########
 @@ -302,6 +307,8 @@ object BisectingKMeans extends 
DefaultParamsReadable[BisectingKMeans] {
  * @param featuresCol  Name for column of features in `predictions`.
  * @param k  Number of clusters.
  * @param numIter  Number of iterations.
+ * @param trainingCost Sum of squared distances to the nearest centroid for 
all points in the
 
 Review comment:
   Would the cost ever be something besides sum of squares? maybe not, just 
wondering if we should say here what the cost function is

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to