-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-6097][MLLIB] Support tree model save/load in PySpark/MLlib #4854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Test build #28183 has started for PR 4854 at commit
|
|
Test build #28183 has finished for PR 4854 at commit
|
|
Test FAILed. |
docs/mllib-decision-tree.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing quotation mark (here and in other examples)
|
Test build #28185 has started for PR 4854 at commit
|
python/pyspark/mllib/tests.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
|
LGTM other than that typo. I'm trying to compile & test now. |
|
Test build #28185 has finished for PR 4854 at commit
|
|
Test FAILed. |
|
Test build #28196 has started for PR 4854 at commit
|
|
Test build #28196 timed out for PR 4854 at commit |
|
Test FAILed. |
|
test this please |
|
Test build #28208 has started for PR 4854 at commit
|
|
Test build #28208 has finished for PR 4854 at commit
|
|
Test FAILed. |
|
test this please |
|
Test build #28215 has started for PR 4854 at commit
|
|
Test build #28215 has finished for PR 4854 at commit
|
|
Test PASSed. |
Similar to `MatrixFactorizaionModel`, we only need wrappers to support save/load for tree models in Python. jkbradley Author: Xiangrui Meng <meng@databricks.com> Closes #4854 from mengxr/SPARK-6097 and squashes the following commits: 4586a4d [Xiangrui Meng] fix more typos 8ebcac2 [Xiangrui Meng] fix python style 91172d8 [Xiangrui Meng] fix typos 201b3b9 [Xiangrui Meng] update user guide b5158e2 [Xiangrui Meng] support tree model save/load in PySpark/MLlib (cherry picked from commit 7e53a79) Signed-off-by: Xiangrui Meng <meng@databricks.com>
|
Merged into master and branch-1.3. |
|
When I run the sample code in cluster mode, there is an error. Traceback (most recent call last): |
|
Can you please open up a JIRA to report the bug? Also, what is the app you were running, and could you provide the code which created and saved the model originally? |
|
I don't know how to create a new issue, So I 'm sorry to send this mail to you. Please Help me. I run the code on a spark cluster , spark version is 1.3.0 The test code:from pyspark import SparkContext, SparkConf conf = SparkConf().setAppName('LocalTest') Evaluate model on test instances and compute test errorpredictions = model.predict(testData.map(lambda x: x.features)) Save and load model_model_path = "/home/s/apps/spark-app/data/myModelPath" run command: Then I get this error : Traceback (most recent call last): 发自我的 iPhone
|
|
@catmonkeylee I created a JIRA here: [https://issues.apache.org/jira/browse/SPARK-6457] If you can, please comment on the JIRA; I'll add suggestions there. Thanks! |
Similar to
MatrixFactorizaionModel, we only need wrappers to support save/load for tree models in Python.@jkbradley