You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nick Pentreath (JIRA)" <ji...@apache.org> on 2016/06/30 11:46:10 UTC

[jira] [Created] (SPARK-16328) Implement conversion utility functions for single instances in Python

Nick Pentreath created SPARK-16328:
--------------------------------------

             Summary: 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