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

    https://github.com/apache/spark/pull/7909#discussion_r36156251
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala
 ---
    @@ -110,9 +142,9 @@ class LogisticRegression(override val uid: String)
       def setStandardization(value: Boolean): this.type = set(standardization, 
value)
       setDefault(standardization -> true)
     
    -  /** @group setParam */
    -  def setThreshold(value: Double): this.type = set(threshold, value)
    -  setDefault(threshold -> 0.5)
    +  override def setThreshold(value: Double): this.type = 
super.setThreshold(value)
    +
    +  override def getThreshold: Double = super.getThreshold
    --- End diff --
    
    I did it to avoid copying docs.  The docs should be inherited.


---
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