@Yu Ishikawa, *I think the right place for such discussion - https://issues.apache.org/jira/browse/SPARK-3573 <https://issues.apache.org/jira/browse/SPARK-3573>*
2014-09-25 18:02 GMT+04:00 Yu Ishikawa <yuu.ishikawa+sp...@gmail.com>: > Hi Niklas Wilcke, > > As you said, it is difficult to extend LabeledPoint class in > mllib.regression. > Do you want to extend LabeledPoint class in order to use any other type > exclude Double type? > If you have your code on Github, could you show us it? I want to know what > you want to do. > > > Community > By the way, I think LabeledPoint class is very useful exclude > mllib.regression package. > Especially, some estimation algorithms should use a type for the labels > exclude Double type, > such as String type. The common generics labeled-point class would be > useful > in MLlib. > I'd like to get your thoughts on it. > > For example, > ``` > abstract class LabeledPoint[T](label: T, features: Vector) > ``` > > thanks > > > > > > > ----- > -- Yu Ishikawa > -- > View this message in context: > http://apache-spark-developers-list.1001551.n3.nabble.com/MLlib-enable-extension-of-the-LabeledPoint-class-tp8546p8549.html > Sent from the Apache Spark Developers List mailing list archive at > Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org > For additional commands, e-mail: dev-h...@spark.apache.org > > -- *Sincerely yoursEgor PakhomovScala Developer, Yandex*