Skip to content

Commit 4e20a70

Browse files
committed
Removed depreciation of impurity value for GBTs
1 parent 5f54f4d commit 4e20a70

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

mllib/src/main/scala/org/apache/spark/ml/tree/treeParams.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -518,9 +518,6 @@ private[ml] trait GBTClassifierParams extends GBTParams with TreeClassifierParam
518518
*
519519
* @group expertParam
520520
*/
521-
@deprecated(
522-
"Control over impurity will be removed, as it is an implementation detail of GBTs",
523-
"2.0.2")
524521
override val impurity: Param[String] = new Param[String](this, "impurity", "Criterion used for" +
525522
" information gain calculation (case-insensitive). Supported options:" +
526523
s" ${GBTClassifierParams.supportedImpurities.mkString(", ")}",
@@ -595,9 +592,6 @@ private[ml] trait GBTRegressorParams extends GBTParams with TreeRegressorParams
595592
*
596593
* @group expertParam
597594
*/
598-
@deprecated(
599-
"Control over impurity will be removed, as it is an implementation detail of GBTs",
600-
"2.0.2")
601595
override val impurity: Param[String] = new Param[String](this, "impurity", "Criterion used for" +
602596
" information gain calculation (case-insensitive). Supported options:" +
603597
s" ${GBTRegressorParams.supportedImpurities.mkString(", ")}",

0 commit comments

Comments
 (0)