You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2015/07/31 22:02:05 UTC

[jira] [Resolved] (SPARK-9246) DistributedLDAModel predict top docs per topic

     [ https://issues.apache.org/jira/browse/SPARK-9246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph K. Bradley resolved SPARK-9246.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

Issue resolved by pull request 7769
[https://github.com/apache/spark/pull/7769]

> DistributedLDAModel predict top docs per topic
> ----------------------------------------------
>
>                 Key: SPARK-9246
>                 URL: https://issues.apache.org/jira/browse/SPARK-9246
>             Project: Spark
>          Issue Type: New Feature
>          Components: MLlib
>            Reporter: Joseph K. Bradley
>            Assignee: Meihua Wu
>             Fix For: 1.5.0
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> For each topic, return top documents based on topicDistributions.
> Synopsis:
> {code}
> /**
>  * @param maxDocuments  Max docs to return for each topic
>  * @return Array over topics of (sorted top docs, corresponding doc-topic weights)
>  */
> def topDocumentsPerTopic(maxDocuments: Int): Array[(Array[Long], Array[Double])]
> {code}
> Note: We will need to make sure that the above return value format is Java-friendly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org