Hi Spark developers, I try to implement a framework with Spark and MLlib to do duplicate detection. I'm not familiar with Spark and Scala so please be patient with me. In order to enrich the LabeledPoint class with some information I tried to extend it and added some properties. But the ML algorithms (in my case DecisionTree) don't accept my new ExtendedLabeledPoint class. They just accept the type RDD[LabeledPoint]. Would it be possible to extract a LabeledPoint interface / trait or to change the type to something covariant like def train[A <: LabeledPoint]( RDD[A], ... )
I hope it's a usefull idea and it's possible. Thanks in advance, Niklas --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org For additional commands, e-mail: dev-h...@spark.apache.org