[ https://issues.apache.org/jira/browse/SPARK-21482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16094305#comment-16094305 ]
Sean Owen commented on SPARK-21482: ----------------------------------- When using LabeledPoint you're typically using the RDD API, where Encoders aren't needed. Do you really need a DataSet? or, if you're out of .mllib code, why not use your own type and not link yourself to the internal .mllib rep? > Make LabeledPoint bean-compliant so it can be used in > Encoders.bean(LabeledPoint.class) > --------------------------------------------------------------------------------------- > > Key: SPARK-21482 > URL: https://issues.apache.org/jira/browse/SPARK-21482 > Project: Spark > Issue Type: Improvement > Components: ML > Affects Versions: 2.1.0 > Reporter: Aseem Bansal > Priority: Minor > > The LabeledPoint class is currently not bean-compliant as per spark > https://spark.apache.org/docs/2.1.0/api/scala/index.html#org.apache.spark.ml.feature.LabeledPoint > This makes it impossible to create a LabeledPoint via a dataset.tranform. It > should be made bean-compliant so it can be used. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org