zhengruifeng commented on a change in pull request #27059: [SPARK-30398][ML] 
PCA/RegressionMetrics/RowMatrix avoid unnecessary computation
URL: https://github.com/apache/spark/pull/27059#discussion_r362363059
 
 

 ##########
 File path: mllib/src/main/scala/org/apache/spark/mllib/stat/Statistics.scala
 ##########
 @@ -21,6 +21,7 @@ import scala.annotation.varargs
 
 import org.apache.spark.annotation.Since
 import org.apache.spark.api.java.{JavaDoubleRDD, JavaRDD}
+import org.apache.spark.ml.stat.SummaryBuilderImpl._
 
 Review comment:
   Just because current aggregator is an inner class 
`org.apache.spark.ml.stat.SummaryBuilderImpl.SummarizerBuffer`,
   I guess I need to move it outside of `SummaryBuilderImpl`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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