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/22 08:27:04 UTC
[jira] [Updated] (SPARK-9231) DistributedLDAModel method for top
topics per document
[ https://issues.apache.org/jira/browse/SPARK-9231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joseph K. Bradley updated SPARK-9231:
-------------------------------------
Description:
Helper method in DistributedLDAModel of this form:
{code}
/**
* 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])]
{code}
I believe the above method signature will be Java-friendly.
was:
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.
> 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
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Helper method in DistributedLDAModel of this form:
> {code}
> /**
> * 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])]
> {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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org