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

    https://github.com/apache/spark/pull/8079#discussion_r36687648
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala
 ---
    @@ -43,36 +42,60 @@ import org.apache.spark.storage.StorageLevel
      */
     private[classification] trait LogisticRegressionParams extends 
ProbabilisticClassifierParams
       with HasRegParam with HasElasticNetParam with HasMaxIter with 
HasFitIntercept with HasTol
    -  with HasStandardization {
    +  with HasStandardization with HasThreshold {
     
       /**
    -   * Version of setThresholds() for binary classification, available for 
backwards
    -   * compatibility.
    +   * Set threshold in binary classification prediction, in range [0, 1].
    +   * If [[thresholds]] is set, then [[threshold]] is ignored.
    --- End diff --
    
    I get that `thresholds` is a param, but what does `threshold` refer to here?


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