Github user yu-iskw commented on a diff in the pull request:
https://github.com/apache/spark/pull/8728#discussion_r43838989
--- Diff:
mllib/src/main/scala/org/apache/spark/ml/regression/DecisionTreeRegressor.scala
---
@@ -36,30 +36,31 @@ import org.apache.spark.sql.DataFrame
* for regression.
* It supports both continuous and categorical features.
*/
+@Since("1.4.0")
@Experimental
-final class DecisionTreeRegressor(override val uid: String)
+final class DecisionTreeRegressor @Since("1.4.0") (@Since("1.4.0")
override val uid: String)
extends Predictor[Vector, DecisionTreeRegressor,
DecisionTreeRegressionModel]
with DecisionTreeParams with TreeRegressorParams {
-
+ @Since("1.4.0")
def this() = this(Identifiable.randomUID("dtr"))
// Override parameter setters from parent trait for Java API
compatibility.
-
+ @Since("1.4.0")
override def setMaxDepth(value: Int): this.type =
super.setMaxDepth(value)
-
+ @Since("1.4.0")
--- End diff --
insert a blank line above the @Since tag. Please do likewise at other tags.
---
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]