-
- Downloads
[SPARK-11847][ML] Model export/import for spark.ml: LDA
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.
Showing
- mllib/src/main/scala/org/apache/spark/ml/clustering/LDA.scala 106 additions, 4 deletions...b/src/main/scala/org/apache/spark/ml/clustering/LDA.scala
- mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala 2 additions, 2 deletions...in/scala/org/apache/spark/mllib/clustering/LDAModel.scala
- mllib/src/test/scala/org/apache/spark/ml/clustering/LDASuite.scala 42 additions, 2 deletions.../test/scala/org/apache/spark/ml/clustering/LDASuite.scala
Loading
Please register or sign in to comment