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

    https://github.com/apache/spark/pull/16722#discussion_r99056047
  
    --- Diff: mllib/src/main/scala/org/apache/spark/ml/tree/treeParams.scala ---
    @@ -72,6 +72,21 @@ private[ml] trait DecisionTreeParams extends 
PredictorParams
         " Should be >= 1.", ParamValidators.gtEq(1))
     
       /**
    +   * Minimum fraction of the weighted sample count that each child must 
have after split.
    +   * If a split causes the fraction of the total weight in the left or 
right child to be less than
    +   * minWeightFractionPerNode, the split will be discarded as invalid.
    +   * Should be in the interval [0.0, 0.5).
    +   * (default = 0.0)
    +   * @group param
    +   */
    +  final val minWeightFractionPerNode: DoubleParam = new DoubleParam(this,
    +    "minWeightFractionPerNode", "Minimum fraction of the weighted sample 
count that each child " +
    +    "must have after split. If a split causes the fraction of the total 
weight in the left or " +
    +    "or right child to be less than minWeightFractionPerNode, the split 
will be discarded as " +
    --- End diff --
    
    minor: two "or"s here, remove one


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