You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Pravin Gadakh (JIRA)" <ji...@apache.org> on 2016/04/05 08:57:25 UTC

[jira] [Commented] (SPARK-14370) Avoid creating duplicate ids in OnlineLDAOptimizer

    [ https://issues.apache.org/jira/browse/SPARK-14370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15225786#comment-15225786 ] 

Pravin Gadakh commented on SPARK-14370:
---------------------------------------

I can work on it if no one has already taken it up.

> Avoid creating duplicate ids in OnlineLDAOptimizer
> --------------------------------------------------
>
>                 Key: SPARK-14370
>                 URL: https://issues.apache.org/jira/browse/SPARK-14370
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>            Reporter: Joseph K. Bradley
>            Priority: Trivial
>
> In {{OnlineLDAOptimizer}}'s {{submitMiniBatch}} method, we create a list of ids {{val ids: List[Int]}} before calling {{variationalTopicInference}}, which then creates a duplicate set of ids.  {{variationalTopicInference}} should reuse the same set.



--
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