-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-9440][MLlib] Add hyperparameters to LocalLDAModel save/load #7757
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
cb6a077 to
9cad764
Compare
|
Test build #38890 has finished for PR 7757 at commit
|
9cad764 to
4988c52
Compare
|
Test build #38891 has finished for PR 7757 at commit
|
|
Test build #38899 has finished for PR 7757 at commit
|
4988c52 to
eea46f1
Compare
eea46f1 to
0f30109
Compare
|
Just rebased onto master so history is messed up |
|
Jenkins test this please |
|
I'll review now |
|
@feynmanliang Is the JIRA number correct? |
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.
"thisClassName" is the standard we've used so far, so I'd keep it.
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.
OK
|
That's the only issue I see. One comment: If we support more topics in the future, we may need a new model format which stores the concentration parameters in Parquet instead of JSON, but I think this is OK for now. |
|
Oh, and feel free to fix the "thisClassName" issue in a follow-up PR if you want this one merged right away. LGTM otherwise |
|
I can add the fix; DistributedLDAModel needs it as well. |
|
JIRA issue was wrong; I've corrected it. |
|
OK LGTM pending tests |
|
Test build #147 has finished for PR 7757 at commit
|
|
Test build #38913 has finished for PR 7757 at commit
|
|
Jenkins retest this please |
|
Test build #38922 has finished for PR 7757 at commit
|
|
Test build #38927 has finished for PR 7757 at commit
|
|
Test build #148 has finished for PR 7757 at commit
|
|
Test build #38908 has finished for PR 7757 at commit
|
|
2 out of 3 tests passed, with the failure from an unrelated test. Good enough for me. Merging with master. |
jkbradley hhbyyh Adds `topicDistributions` to LocalLDAModel. Please review after #7757 is merged. Author: Feynman Liang <[email protected]> Closes #7760 from feynmanliang/SPARK-5567-predict-in-LDA and squashes the following commits: 0ad1134 [Feynman Liang] Remove println 27b3877 [Feynman Liang] Code review fixes 6bfb87c [Feynman Liang] Remove extra newline 476f788 [Feynman Liang] Fix checks and doc for variationalInference 061780c [Feynman Liang] Code review cleanup 3be2947 [Feynman Liang] Rename topicDistribution -> topicDistributions 2a821a6 [Feynman Liang] Add predict methods to LocalLDAModel
@jkbradley @MechCoder
Resolves blocking issue for SPARK-6793. Please review after #7705 is merged.