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

    https://github.com/apache/spark/pull/11903#discussion_r57216499
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/tree/impl/GradientBoostedTrees.scala 
---
    @@ -61,18 +64,20 @@ private[ml] object GradientBoostedTrees extends Logging 
{
        *                        but it should follow the same distribution.
        *                        E.g., these two datasets could be created from 
an original dataset
        *                        by using 
[[org.apache.spark.rdd.RDD.randomSplit()]]
    +   * @param seed Random seed.
        * @return tuple of ensemble models and weights:
        *         (array of decision tree models, array of model weights)
        */
       def runWithValidation(
           input: RDD[LabeledPoint],
           validationInput: RDD[LabeledPoint],
    -      boostingStrategy: OldBoostingStrategy
    +      boostingStrategy: OldBoostingStrategy,
    +      seed: Long
           ): (Array[DecisionTreeRegressionModel], Array[Double]) = {
    --- End diff --
    
    Scala style: combine this with previous line
    ```
        seed: Long): (Array[...
    ```


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