zhengruifeng opened a new pull request #24727: [SPARK-27867][ML] RegressionEvaluator cache lastest RegressionMetrics to avoid duplicated computation URL: https://github.com/apache/spark/pull/24727 ## What changes were proposed in this pull request? cache the lastest `RegressionMetrics`, so that in the next calls if the inputs (except metricName) are not changed, the metric can be directly returned from the internal `RegressionMetrics` ## How was this patch tested? existing tests and local test in spark-shell
---------------------------------------------------------------- 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]
