Description
Helper method in DistributedLDAModel of this form:
/** * For each document, return the top k weighted topics for that document. * @return RDD of (doc ID, topic indices, topic weights) */ def topTopicsPerDocument(k: Int): RDD[(Long, Array[Int], Array[Double])]
I believe the above method signature will be Java-friendly.
Attachments
Issue Links
- is required by
-
SPARK-5572 LDA improvement listing
- Resolved
- links to