Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20842#discussion_r176899541 --- Diff: python/pyspark/ml/regression.py --- @@ -347,6 +347,20 @@ def r2(self): """ return self._call_java("r2") + @property + @since("2.4.0") + def r2adj(self): + """ + Returns Adjusted R^2^, the adjusted coefficient of determination. --- End diff -- sure, I will change.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org