srowen commented on a change in pull request #24717: [SPARK-27847][ML] One-Pass 
MultilabelMetrics & MulticlassMetrics
URL: https://github.com/apache/spark/pull/24717#discussion_r288142248
 
 

 ##########
 File path: 
mllib/src/main/scala/org/apache/spark/mllib/evaluation/RegressionMetrics.scala
 ##########
 @@ -59,7 +59,7 @@ class RegressionMetrics @Since("2.0.0") (
   /**
    * Use MultivariateOnlineSummarizer to calculate summary statistics of 
observations and errors.
    */
-  private lazy val summary: MultivariateStatisticalSummary = {
+  private val summary: MultivariateStatisticalSummary = {
 
 Review comment:
   Because this hasn't been 'optimized', should this be changed? I 

----------------------------------------------------------------
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