Github user srowen commented on a diff in the pull request: https://github.com/apache/spark/pull/19638#discussion_r148460065 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/evaluation/RegressionMetrics.scala --- @@ -125,4 +125,14 @@ class RegressionMetrics @Since("2.0.0") ( 1 - SSerr / SStot } } + + /** + * Returns adjusted R^2^, the adjusted coefficient of determination. + * @see <a href="https://en.wikipedia.org/wiki/Coefficient_of_determination#Adjusted_R2"> + * Coefficient of determination (Wikipedia)</a> + */ + @Since("2.2.0") --- End diff -- This must be since 2.3.0
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org