srowen commented on issue #24727: [SPARK-27867][ML] RegressionEvaluator cache lastest RegressionMetrics to avoid duplicated computation URL: https://github.com/apache/spark/pull/24727#issuecomment-496946434 Yeah, that's pretty much the design of all of these evaluators, for better or worse. I wouldn't make this change though. A caller could use RegressionMetrics directly if desired, but that would be going outside the Evaluator interface. I don't see a clean way to expose N metrics at once, because Evaluators inherently produce one metric.
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org