You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/06/30 14:09:10 UTC
[jira] [Commented] (SPARK-16328) Implement conversion utility
functions for single instances in Python
[ https://issues.apache.org/jira/browse/SPARK-16328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15357130#comment-15357130 ]
Apache Spark commented on SPARK-16328:
--------------------------------------
User 'MLnick' has created a pull request for this issue:
https://github.com/apache/spark/pull/13997
> Implement conversion utility functions for single instances in Python
> ---------------------------------------------------------------------
>
> Key: SPARK-16328
> URL: https://issues.apache.org/jira/browse/SPARK-16328
> Project: Spark
> Issue Type: Sub-task
> Components: ML, MLlib, PySpark
> Reporter: Nick Pentreath
> Assignee: Nick Pentreath
>
> We have {{asML}}/{{fromML}} utility methods in Scala/Java to convert between the old and new linalg types. These are missing in Python.
> For dense vectors it's actually easy to do without, e.g. {{mlDenseVector = Vectors.dense(mllibDenseVector)}}, but for sparse it doesn't work easily. So it would be good to have utility methods available for users.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org