ææ¸ãããã¨ããã£ããã©ãã©ããã«ãã£ã¦ãã¾ã£ãã®ã§ããä¸åº¦æ¸ãã¦ã¿ããæ¨è«æ¹æ³ã«ã¯ã®ãã¹ãµã³ããªã³ã°ã¨å¤åãã¤ãºã®2ã¤ããããã©ãå°åºãå®è£ ããã楽ãªcollapsed gibbs sampling(Griffiths and Steyvers, PNAS, 2004)ã®æ¹ãæ¡ç¨ã Token.java package lda; public class Token { public int docId; public int wordId; public Token(int d , int w){ docId = d; wordId = w; } } LDA.java package lda; import java.util.*; public class LDA { int D; // number of document int K; // number of topic int
{{#tags}}- {{label}}
{{/tags}}