Github user sethah commented on a diff in the pull request:
https://github.com/apache/spark/pull/11903#discussion_r57236966
--- Diff:
mllib/src/main/scala/org/apache/spark/ml/classification/GBTClassifier.scala ---
@@ -97,7 +97,6 @@ final class GBTClassifier @Since("1.4.0") (
@Since("1.4.0")
override def setSeed(value: Long): this.type = {
--- End diff --
If I remove this method I get compile errors in "JavaGBTClassifierSuite". I
believe this has something to do with the fact that `setSeed` in class
`DecisionTreeParams` returns `this.type`, which is a mixed in trait for the
GBTClassifier class. I also checked RandomForestClassifier/Regressor and they
have a `override def setSeed(value: Long): this.type = super.setSeed(value)`
setter in the final class.
---
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]