Github user sethah commented on a diff in the pull request: https://github.com/apache/spark/pull/20632#discussion_r171071028 --- Diff: mllib/src/main/scala/org/apache/spark/ml/tree/impl/RandomForest.scala --- @@ -92,6 +92,7 @@ private[spark] object RandomForest extends Logging { featureSubsetStrategy: String, seed: Long, instr: Option[Instrumentation[_]], + prune: Boolean = true, --- End diff -- how about a comment here: `prune: Boolean = true, // exposed for testing only, real trees are always pruned`
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org