Joseph K. Bradley created SPARK-9231:
----------------------------------------
Summary: DistributedLDAModel method for top topics per document
Key: SPARK-9231
URL: https://issues.apache.org/jira/browse/SPARK-9231
Project: Spark
Issue Type: New Feature
Components: MLlib
Reporter: Joseph K. Bradley
Priority: Minor
Helper method in DistributedLDAModel of this form:
{code}
/** For each document, return the top k weighted topics for that document. */
def topTopicsPerDocument(k: Int): RDD[(Long, Array[Int], Array[Double])]
{code}
I believe the above method signature will be Java-friendly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]