Github user BryanCutler commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20842#discussion_r176605304
  
    --- 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 --
    
    `R^2^` is a scaladoc format.  How about just `R^2`? and could you fix in 
`def r2` also


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to