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

    https://github.com/apache/spark/pull/16699#discussion_r124235464
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/regression/GeneralizedLinearRegression.scala
 ---
    @@ -303,6 +317,17 @@ class GeneralizedLinearRegression @Since("2.0.0") 
(@Since("2.0.0") override val
       def setWeightCol(value: String): this.type = set(weightCol, value)
     
       /**
    +   * Sets the value of param [[offsetCol]].
    +   * The feature specified as offset has a constant coefficient of 1.0.
    --- End diff --
    
    Move this line to param doc. Usually we keep the most integrated doc in 
param annotation, and for set method, we can just say ```Sets the value of 
param [[offsetCol]]```.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to