spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Rudenko <petro.rude...@gmail.com>
Subject [ml] Why all model classes are final?
Date Mon, 08 Jun 2015 16:17:44 GMT
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-unsubscribe@spark.apache.org
For additional commands, e-mail: dev-help@spark.apache.org


Mime
View raw message