Github user hhbyyh commented on a diff in the pull request:
https://github.com/apache/spark/pull/19638#discussion_r148634479
--- Diff:
mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala ---
@@ -722,6 +722,17 @@ class LinearRegressionSummary private[regression] (
@Since("1.5.0")
val r2: Double = metrics.r2
+ /**
+ * Returns Adjusted R^2^, the adjusted coefficient of determination.
+ * Reference: <a
href="http://en.wikipedia.org/wiki/Coefficient_of_determination">
--- End diff --
maybe Coefficient_of_determination#Adjusted_R2?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]