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 2018/04/25 23:23:00 UTC

[jira] [Commented] (SPARK-22210) Online LDA variationalTopicInference should use random seed to have stable behavior

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

Joseph K. Bradley commented on SPARK-22210:
-------------------------------------------

[~lu.DB] Would you like to do this?  It should be a matter of taking the "seed" Param passed to LDA and making sure it (or a seed generated from it) is passed down to this method.  Thanks!

> Online LDA variationalTopicInference  should use random seed to have stable behavior
> ------------------------------------------------------------------------------------
>
>                 Key: SPARK-22210
>                 URL: https://issues.apache.org/jira/browse/SPARK-22210
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 2.2.0
>            Reporter: yuhao yang
>            Priority: Minor
>
> https://github.com/apache/spark/blob/16fab6b0ef3dcb33f92df30e17680922ad5fb672/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAOptimizer.scala#L582
> Gamma distribution should use random seed to have consistent behavior.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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