I was able to work around this problem in several cases using the class 'enhancement' or 'extension' pattern to add some functionality to the decision tree model data structures.
----- Original Message ----- > Hi, previously all the models in ml package were private to package, so > if i need to customize some models i inherit them in org.apache.spark.ml > package in my project. But now new models > (https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/ml/classification/GBTClassifier.scala#L46) > are final classes. So if i need to customize 1 line or so, i need to > redefine the whole class. Any reasons to do so? As a developer,i > understand all the risks of using Developer/Alpha API. That's why i'm > using spark, because it provides a building blocks that i could easily > customize and combine for my need. > > Thanks, > Peter Rudenko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org > For additional commands, e-mail: dev-h...@spark.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org For additional commands, e-mail: dev-h...@spark.apache.org