Github user mgaido91 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22986#discussion_r233056300
  
    --- Diff: mllib/src/main/scala/org/apache/spark/ml/tree/treeParams.scala ---
    @@ -538,7 +538,7 @@ private[ml] object GBTClassifierParams {
         Array("logistic").map(_.toLowerCase(Locale.ROOT))
     }
     
    -private[ml] trait GBTClassifierParams extends GBTParams with 
TreeClassifierParams {
    +private[ml] trait GBTClassifierParams extends GBTParams with 
TreeRegressorParams {
    --- End diff --
    
    @srowen I think the only alternative here us to avoid extending either of 
them and define the `impurity` param directly into this trait. What do you 
think?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to