-
- Downloads
[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. Author: Liang-Chi Hsieh <viirya@appier.com> Closes #10100 from viirya/fix-load-py-wordvecmodel.
Showing
- mllib/src/main/scala/org/apache/spark/mllib/api/python/PythonMLLibAPI.scala 0 additions, 33 deletions...la/org/apache/spark/mllib/api/python/PythonMLLibAPI.scala
- mllib/src/main/scala/org/apache/spark/mllib/api/python/Word2VecModelWrapper.scala 62 additions, 0 deletions.../apache/spark/mllib/api/python/Word2VecModelWrapper.scala
- python/pyspark/mllib/feature.py 5 additions, 1 deletionpython/pyspark/mllib/feature.py
Please register or sign in to comment