GitHub user viirya opened a pull request:
https://github.com/apache/spark/pull/10100
[SPARK-12016][MLlib][PySpark] Wrap Word2VecModel when loading it in pyspark
JIRA: https://issues.apache.org/jira/browse/SPARK-12016
We should not directly use Word2VecModel in pyspark. We need to wrap it in
a Word2VecModelWrapper when loading it in pyspark.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/viirya/spark-1 fix-load-py-wordvecmodel
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10100.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 #10100
----
commit 3ba2a10e54007684779b6b7373641155d709daaf
Author: Liang-Chi Hsieh <[email protected]>
Date: 2015-12-02T10:07:36Z
Wrap Word2VecModel when loading it in pyspark.
----
---
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]