GitHub user MLnick opened a pull request:
https://github.com/apache/spark/pull/13997
[SPAR-16328K][ML][MLLIB][PYSPARK] Add 'asML' and 'fromML' conversion
methods to PySpark linalg
The move to `ml.linalg` created `asML`/`fromML` utility methods in
Scala/Java for converting between representations. These are missing in Python,
this PR adds them.
## How was this patch tested?
New doctests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MLnick/spark SPARK-16328-python-linalg-convert
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13997.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #13997
----
commit 35974c9bd813c28e591197bcf4d069c70b834fe4
Author: Nick Pentreath <[email protected]>
Date: 2016-06-30T13:47:56Z
Add 'asML' and 'fromML' conversion methods to PySpark linalg
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]