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

    https://github.com/apache/spark/pull/19994#discussion_r157391859
  
    --- Diff: python/pyspark/ml/regression.py ---
    @@ -155,6 +183,14 @@ def intercept(self):
             """
             return self._call_java("intercept")
     
    +    @property
    +    @since("2.3.0")
    +    def scale(self):
    +        """
    +        The value by which \|y - X'w\| is scaled down when loss is "huber".
    --- End diff --
    
    add doc "When square loss the value is 1.0"


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to