Github user imatiach-msft commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21632#discussion_r218657065
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/classification/DecisionTreeClassifier.scala
 ---
    @@ -97,28 +103,48 @@ class DecisionTreeClassifier @Since("1.4.0") (
       @Since("1.6.0")
       override def setSeed(value: Long): this.type = set(seed, value)
     
    +  /**
    +   * Sets the value of param [[weightCol]].
    +   * If this is not set or empty, we treat all instance weights as 1.0.
    +   * Default is not set, so all instances have weight one.
    +   *
    +   * @group setParam
    +   */
    +  @Since("2.2.0")
    --- End diff --
    
    done


---

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

Reply via email to