[
https://issues.apache.org/jira/browse/SPARK-21483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16094409#comment-16094409
]
Sean Owen commented on SPARK-21483:
-----------------------------------
VectorUDT?
https://spark.apache.org/docs/2.1.1/api/java/org/apache/spark/mllib/linalg/VectorUDT.html
Not sure then. I doubt the answer is to make it a bean, but maybe offering a
built in encoder?
Maybe I'm missing something.
> Make org.apache.spark.ml.linalg.Vector bean-compliant so it can be used in
> Encoders.bean(Vector.class)
> ------------------------------------------------------------------------------------------------------
>
> Key: SPARK-21483
> URL: https://issues.apache.org/jira/browse/SPARK-21483
> Project: Spark
> Issue Type: Improvement
> Components: ML
> Affects Versions: 2.1.0
> Reporter: Aseem Bansal
> Priority: Minor
>
> The class org.apache.spark.ml.linalg.Vector is currently not bean-compliant
> as per spark.
> This makes it impossible to create a Vector 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: [email protected]
For additional commands, e-mail: [email protected]