1. 程式人生 > >H-LDA (Blei C++) 關鍵程式碼分析

H-LDA (Blei C++) 關鍵程式碼分析

Parameters:

GEM(m,π):

m:  gem_mean (mean of the stick leagth) ;

π:  gem_scale (variance of the stick leagth) .

Larger m, more likelyassign more words from each doc to higher levels of abstraction.

Larger π, wordallocations will not likely deviate from such a setting.

In the stick-breakingprocess:

  Θ ~ GEM(m,π);

  Vi ~ Beta(mπ, (1-m)π).




2. Sampling Paths