Uh oh!
There was an error while loading. Please reload this page.
[SPARK-11847] [ML] Model export/import for spark.ml: LDA - #9894
Conversation
SparkQA
commented
Nov 22, 2015
Test build #46492 has finished for PR 9894 at commit
|
jkbradley
commented
Nov 23, 2015
Reviewing now |
There was a problem hiding this comment.
scala style: put vocabSize on next line
jkbradley
commented
Nov 24, 2015
Thanks for the PR! My only other comment is about the missing DistributedLDAModel unit test. In the future, I also want to add an object LDA which implements Readable and returns an LDAModel. But we can skip that for now. |
hhbyyh
commented
Nov 24, 2015
@jkbradley Thanks for review. Do you mean a LDAModel.load(path) which can load both local and distributed LDAModel? We can create a jira. |
SparkQA
commented
Nov 24, 2015
Test build #46581 has finished for PR 9894 at commit
|
jkbradley
commented
Nov 24, 2015
Yes, that's what I had in mind. That way, most users will never need to know about local vs. distributed. |
jkbradley
commented
Nov 24, 2015
LGTM. @hhbyyh Thanks for the updates! Is there anything left to do? If not, can you please remove the "WIP" label? I can then merge it. |
hhbyyh
commented
Nov 24, 2015
@jkbradley removed. Thanks. I'll create a jira. |
Add read/write support to LDA, similar to ALS. save/load for ml.LocalLDAModel is done. For DistributedLDAModel, I'm not sure if we can invoke save on the mllib.DistributedLDAModel directly. I'll send update after some test. Author: Yuhao Yang <hhbyyh@gmail.com> Closes#9894 from hhbyyh/ldaMLsave. (cherry picked from commit 52bc25c) Signed-off-by: Xiangrui Meng <meng@databricks.com>
mengxr
commented
Nov 24, 2015
Merged into master and branch-1.6. Thanks! |
Add read/write support to LDA, similar to ALS.
save/load for ml.LocalLDAModel is done.
For DistributedLDAModel, I'm not sure if we can invoke save on the mllib.DistributedLDAModel directly. I'll send update after some test.