Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Feynman Liang committed Jul 31, 2015
1 parent 151e859 commit c3c6c1d
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -463,11 +463,11 @@ final class OnlineLDAOptimizer extends LDAOptimizer {
}

/**
* Update (in place) parameters for the Dirichlet prior on the per-document
* topic weights `alpha` given the last `gammat`.
* Uses Newton's method,
* @see Huang: Maximum Likelihood Estimation of Dirichlet Distribution Parameters
* (http://www.stanford.edu/~jhuang11/research/dirichlet/dirichlet.pdf)
* Update alpha based on `gammat`, the inferred topic distributions for documents in the
* current mini-batch.
* Uses Newton's method,
* @see Huang: Maximum Likelihood Estimation of Dirichlet Distribution Parameters
* (http://jonathan-huang.org/research/dirichlet/dirichlet.pdf)
*/
private def updateAlpha(gammat: BDM[Double]): Unit = {
val weight = rho()
Expand Down

0 comments on commit c3c6c1d

Please sign in to comment.