-
- Downloads
[SPARK-10809][MLLIB] Single-document topicDistributions method for LocalLDAModel
jira: https://issues.apache.org/jira/browse/SPARK-10809 We could provide a single-document topicDistributions method for LocalLDAModel to allow for quick queries which avoid RDD operations. Currently, the user must use an RDD of documents. add some missing assert too. Author: Yuhao Yang <hhbyyh@gmail.com> Closes #9484 from hhbyyh/ldaTopicPre.
Showing
- mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala 26 additions, 0 deletions...in/scala/org/apache/spark/mllib/clustering/LDAModel.scala
- mllib/src/test/scala/org/apache/spark/mllib/clustering/LDASuite.scala 12 additions, 3 deletions...st/scala/org/apache/spark/mllib/clustering/LDASuite.scala
Please register or sign in to comment