Github user jkbradley commented on a diff in the pull request:
https://github.com/apache/spark/pull/7205#discussion_r36038231
--- Diff: mllib/src/main/scala/org/apache/spark/ml/tree/treeParams.scala ---
@@ -266,7 +267,7 @@ private[ml] object TreeRegressorParams {
*
* Note: Marked as private and DeveloperApi since this may be made public
in the future.
*/
-private[ml] trait TreeEnsembleParams extends DecisionTreeParams with
HasSeed {
+private[ml] trait TreeEnsembleParams extends DecisionTreeParams with
HasSeed with HasThresholds {
--- End diff --
Only forests should implement HasThresholds for now, not GBTs.
---
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]