WeichenXu123 commented on code in PR #55728:
URL: https://github.com/apache/spark/pull/55728#discussion_r3201471310
##########
mllib/src/main/scala/org/apache/spark/ml/tree/impl/RandomForest.scala:
##########
@@ -124,7 +124,6 @@ private[spark] object RandomForest extends Logging with
Serializable {
featureSubsetStrategy: String,
seed: Long,
instr: Option[Instrumentation],
- prune: Boolean = true, // exposed for testing only, real trees are
always pruned
Review Comment:
"default prune = false" is proposed in the jira:
https://issues.apache.org/jira/browse/SPARK-34591
but to keep API compatibility, keeping it to true might be safer.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]