fast_ml fast_ml-lda knowledge-graph by maker-knowledge-mining

fast_ml lda model


lda model topics list

topicId: wordWeight*wordName (topN-words)

topic #0: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #1: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #2: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #3: 0.014*relus + 0.011*sander + 0.008*applications + 0.007*comment + 0.007*angles + 0.007*videos + 0.006*optimisation + 0.005*largely + 0.005*started + 0.005*early

topic #4: 0.016*variation + 0.010*page + 0.009*bandits + 0.007*visitors + 0.007*content + 0.006*ga + 0.006*decides + 0.006*variations + 0.005*testing + 0.005*experiment

topic #5: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #6: 0.012*post + 0.012*raw + 0.011*bit + 0.011*multiclass + 0.010*loss + 0.009*convert + 0.009*numbers + 0.009*case + 0.009*tool + 0.008*words

topic #7: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #8: 0.020*linux + 0.015*vmware + 0.010*windows + 0.009*guest + 0.009*inside + 0.007*player + 0.007*apps + 0.006*host + 0.006*virtual + 0.006*terminal

topic #9: 0.016*roc + 0.013*auc + 0.012*rand + 0.010*positives + 0.009*perfcurve + 0.009*threshold + 0.007*negatives + 0.006*positive + 0.006*false + 0.006*curve

topic #10: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #11: 0.018*foreca + 0.014*forecastable + 0.011*omega + 0.007*daily + 0.007*returns + 0.006*funds + 0.006*stocks + 0.006*equity + 0.006*stock + 0.006*fecofin

topic #12: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #13: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #14: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #15: 0.027*weka + 0.017*java + 0.008*hadoop + 0.006*projects + 0.006*believe + 0.006*serious + 0.005*applied + 0.005*seriously + 0.005*discover + 0.004*concern

topic #16: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #17: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #18: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #19: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #20: 0.007*ntrees + 0.007*mtry + 0.006*dramatic + 0.006*candidate + 0.005*runs + 0.005*root + 0.005*bound + 0.005*ten + 0.005*square + 0.004*rmse

topic #21: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #22: 0.013*components + 0.012*nmf + 0.009*lda + 0.008*ica + 0.008*pca + 0.007*gensim + 0.007*factorization + 0.006*row + 0.006*graphchi + 0.006*bernoulli

topic #23: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #24: 0.019*mnist + 0.012*maxout + 0.010*obj + 0.008*epochs + 0.008*backpropagation + 0.008*digits + 0.008*permutation + 0.006*stop + 0.006*rectified + 0.006*multilayer

topic #25: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #26: 0.018*vw + 0.015*predictions + 0.014*function + 0.013*values + 0.013*binary + 0.011*logistic + 0.011*predict + 0.010*dimensionality + 0.009*classification + 0.009*points

topic #27: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #28: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #29: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #30: 0.013*coursera + 0.012*programming + 0.008*course + 0.007*stanford + 0.007*introduction + 0.006*online + 0.006*sebastian + 0.006*thrun + 0.006*udacity + 0.006*algebra

topic #31: 0.020*model + 0.015*vowpal + 0.014*wabbit + 0.014*neural + 0.014*networks + 0.013*regression + 0.013*network + 0.011*filtering + 0.009*units + 0.008*works

topic #32: 0.013*cat + 0.010*ferret + 0.010*mustela + 0.008*indri + 0.005*putorius + 0.005*fitch + 0.005*dog + 0.005*lists + 0.005*foulmart + 0.005*tabby

topic #33: 0.020*shell + 0.012*paste + 0.011*magic + 0.011*ipython + 0.009*interactive + 0.009*commands + 0.005*ls + 0.005*dark + 0.005*touch + 0.005*normally

topic #34: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #35: 0.019*overfeat + 0.017*images + 0.016*features + 0.011*path + 0.011*classes + 0.011*names + 0.010*image + 0.009*zero + 0.009*cost + 0.009*optimal

topic #36: 0.021*yob + 0.009*mit + 0.009*demographics + 0.006*income + 0.006*poll + 0.006*person + 0.006*feel + 0.005*education + 0.005*happy + 0.005*matters

topic #37: 0.013*writer + 0.010*writers + 0.009*package + 0.008*thousand + 0.008*issue + 0.007*nearzerovar + 0.007*lambda + 0.007*discriminate + 0.007*weren + 0.007*logisticridge

topic #38: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #39: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #40: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #41: 0.013*interval + 0.010*label + 0.009*log + 0.009*enumerate + 0.009*song + 0.009*str + 0.007*round + 0.007*salary + 0.006*salaries + 0.005*class

topic #42: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #43: 0.018*seed + 0.012*import + 0.011*open + 0.010*reader + 0.010*headers + 0.006*indexes + 0.006*shuffle + 0.006*delimiter + 0.005*float + 0.005*module

topic #44: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #45: 0.021*noise + 0.012*layers + 0.008*msda + 0.006*err + 0.006*denoising + 0.005*optimize + 0.005*denoised + 0.004*stacked + 0.004*ten + 0.004*autoencoder

topic #46: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #47: 0.011*matrix + 0.009*distance + 0.008*lmnn + 0.007*discriminative + 0.006*diagonal + 0.006*mlkr + 0.006*euclidian + 0.006*dxd + 0.006*nxd + 0.005*square

topic #48: 0.012*expressions + 0.009*resulting + 0.009*distinguish + 0.008*load + 0.008*kyle + 0.008*custom + 0.008*feed + 0.008*theano + 0.007*becomes + 0.007*returns

topic #49: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #50: 0.015*salaries + 0.011*job + 0.007*predicting + 0.007*distribution + 0.007*advertised + 0.007*salary + 0.006*convert + 0.006*vw + 0.006*binarizing + 0.006*transform

topic #51: 0.016*nvidia + 0.016*users + 0.014*cpu + 0.013*gpu + 0.013*cuda + 0.012*meanvisb + 0.012*valid + 0.009*faster + 0.008*collaborative + 0.008*drivers

topic #52: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #53: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #54: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #55: 0.030*file + 0.021*csv + 0.020*files + 0.016*line + 0.016*format + 0.015*libsvm + 0.014*split + 0.014*python + 0.012*command + 0.011*large

topic #56: 0.017*lasso + 0.009*fulldescription + 0.008*relscore + 0.007*title + 0.007*weight + 0.006*regularization + 0.006*ad + 0.006*current + 0.004*contracttime + 0.004*contracttype

topic #57: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #58: 0.017*examples + 0.011*course + 0.011*often + 0.011*roughly + 0.011*freedom + 0.011*degrees + 0.010*meaningful + 0.010*online + 0.009*especially + 0.009*closer

topic #59: 0.025*chunghwa + 0.025*telecommunication + 0.002*whether + 0.002*rather + 0.002*nailed + 0.002*major + 0.002*sensible + 0.002*significant + 0.002*publish + 0.002*prizes

topic #60: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #61: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #62: 0.020*amelia + 0.013*imputed + 0.009*idvars + 0.009*ncpus + 0.009*mice + 0.007*bagging + 0.007*imputing + 0.007*ords + 0.007*noms + 0.007*bug

topic #63: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #64: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #65: 0.018*geforce + 0.016*gtx + 0.013*lsi + 0.011*rp + 0.011*lda + 0.008*cards + 0.008*cudamat + 0.008*topics + 0.007*gensim + 0.006*document

topic #66: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #67: 0.014*pandas + 0.013*dictvectorizer + 0.010*edge + 0.010*categorical + 0.010*columns + 0.008*frame + 0.007*analytics + 0.007*vectorizer + 0.005*numeric + 0.005*encoded

topic #68: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #69: 0.012*error + 0.011*validation + 0.010*learning + 0.008*deep + 0.008*test + 0.008*set + 0.008*layer + 0.008*mtry + 0.008*number + 0.007*spearmint

topic #70: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #71: 0.022*random + 0.018*models + 0.017*forest + 0.017*linear + 0.014*trees + 0.013*want + 0.013*means + 0.013*things + 0.012*fast + 0.012*even

topic #72: 0.020*dropconnect + 0.009*li + 0.007*genes + 0.007*wan + 0.005*averaging + 0.005*ensembling + 0.005*stripes + 0.004*activations + 0.004*dropout + 0.004*art

topic #73: 0.009*geoff + 0.009*man + 0.008*ve + 0.007*charlie + 0.007*creating + 0.007*problems + 0.007*vision + 0.007*almost + 0.007*svm + 0.007*talking

topic #74: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #75: 0.010*logprob + 0.010*sec + 0.010*batches + 0.008*batch + 0.007*image + 0.006*patches + 0.006*noccn + 0.005*convnets + 0.005*krizhevsky + 0.005*object

topic #76: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #77: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #78: 0.015*methods + 0.013*unsupervised + 0.012*gamma + 0.011*paper + 0.011*representation + 0.010*method + 0.009*think + 0.009*slightly + 0.008*mapped + 0.008*centers

topic #79: 0.011*software + 0.010*possible + 0.010*quadratic + 0.009*text + 0.009*hidden + 0.009*create + 0.008*rate + 0.008*give + 0.008*end + 0.008*cubic

topic #80: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #81: 0.019*nrows + 0.012*could + 0.012*notice + 0.011*sample + 0.011*memory + 0.010*whole + 0.009*ok + 0.009*attempt + 0.008*convert + 0.008*source

topic #82: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #83: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #84: 0.017*wine + 0.015*science + 0.012*alcohol + 0.009*computer + 0.008*content + 0.008*quality + 0.007*followers + 0.007*probability + 0.007*fixed + 0.007*white

topic #85: 0.021*mrmr + 0.014*threshold + 0.010*fea + 0.009*select + 0.008*maxrel + 0.007*deviation + 0.005*indexes + 0.005*attributes + 0.005*working + 0.004*selected

topic #86: 0.019*samples + 0.010*computed + 0.010*device + 0.010*devices + 0.010*ran + 0.009*histogram + 0.008*wrote + 0.008*predictions + 0.006*computation + 0.005*file

topic #87: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #88: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #89: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #90: 0.013*queries + 0.012*items + 0.008*rock + 0.008*rocksmith + 0.008*clicked + 0.008*dictionary + 0.005*asked + 0.004*require + 0.004*na + 0.004*keys

topic #91: 0.014*console + 0.014*plots + 0.014*pane + 0.011*rstudio + 0.008*history + 0.007*workspace + 0.006*help + 0.006*execute + 0.006*dark + 0.005*source

topic #92: 0.011*big + 0.008*corpus + 0.008*apple + 0.008*hype + 0.007*ram + 0.006*difficulty + 0.005*brown + 0.005*analysts + 0.005*nobody + 0.005*nsa

topic #93: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #94: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #95: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #96: 0.012*pass + 0.011*sauc + 0.010*trms + 0.010*tauc + 0.010*tacc + 0.010*srms + 0.010*sacc + 0.007*inference + 0.007*several + 0.006*stochastic

topic #97: 0.014*pythonpath + 0.012*yaml + 0.008*softmax + 0.008*library + 0.008*wrapper + 0.008*dir + 0.007*getting + 0.006*class + 0.006*loading + 0.006*tutorial

topic #98: 0.000*zurek + 0.000*yet + 0.000*cache + 0.000*buffers + 0.000*box + 0.000*bound + 0.000*bother + 0.000*black + 0.000*beginning + 0.000*basis

topic #99: 0.020*data + 0.013*time + 0.013*benchmark + 0.011*query + 0.011*script + 0.010*five + 0.010*small + 0.010*product + 0.010*big + 0.009*take






Latent Dirichlet allocation

In natural language processing, latent Dirichlet allocation (LDA) is a generative model that allows sets of observations to be explained by unobserved groups that explain why some parts of the data are similar. For example, if observations are words collected into documents, it posits that each document is a mixture of a small number of topics and that each word's creation is attributable to one of the document's topics. LDA is an example of a topic model and was first presented as a graphical model for topic discovery by David Blei, Andrew Ng, and Michael Jordan in 2003.

Topics in LDA

In LDA, each document may be viewed as a mixture of various topics. This is similar to probabilistic latent semantic analysis (pLSA), except that in LDA the topic distribution is assumed to have a Dirichlet prior. In practice, this results in more reasonable mixtures of topics in a document. It has been noted, however, that the pLSA model is equivalent to the LDA model under a uniform Dirichlet prior distribution.

For example, an LDA model might have topics that can be classified as CAT_related and DOG_related. A topic has probabilities of generating various words, such as milk, meow, and kitten, which can be classified and interpreted by the viewer as "CAT_related". Naturally, the word cat itself will have high probability given this topic. The DOG_related topic likewise has probabilities of generating each word: puppy, bark, and bone might have high probability. Words without special relevance, such as the (see function word), will have roughly even probability between classes (or can be placed into a separate category). A topic is not strongly defined, neither semantically nor epistemologically. It is identified on the basis of supervised labeling and (manual) pruning on the basis of their likelihood of co-occurrence. A lexical word may occur in several topics with a different probability, however, with a different typical set of neighboring words in each topic.

Each document is assumed to be characterized by a particular set of topics. This is akin to the standard bag of words model assumption, and makes the individual words exchangeable.

Model

With plate notation, the dependencies among the many variables can be captured concisely. The boxes are “plates” representing replicates. The outer plate represents documents, while the inner plate represents the repeated choice of topics and words within a document. M denotes the number of documents, N the number of words in a document. Thus:

α is the parameter of the Dirichlet prior on the per-document topic distributions,

β is the parameter of the Dirichlet prior on the per-topic word distribution,

\theta_i is the topic distribution for document i,

\phi_k is the word distribution for topic k,

z_{ij} is the topic for the jth word in document i, and

w_{ij} is the specific word.

The w_{ij} are the only observable variables, and the other variables are latent variables. Mostly, the basic LDA model will be extended to a smoothed version to gain better results .[citation needed] The plate notation is shown on the right, where K denotes the number of topics considered in the model and:

\phi is a K*V (V is the dimension of the vocabulary) Markov matrix each row of which denotes the word distribution of a topic.

The generative process behind is that documents are represented as random mixtures over latent topics, where each topic is characterized by a distribution over words. LDA assumes the following generative process for a corpus D consisting of M documents each of length N_i:

1. Choose \theta_i \, \sim \, \mathrm{Dir}(\alpha) , where i \in \{ 1,\dots,M \} and \mathrm{Dir}(\alpha) is the Dirichlet distribution for parameter \alpha

2. Choose \phi_k \, \sim \, \mathrm{Dir}(\beta) , where k \in \{ 1,\dots,K \}

3. For each of the word positions i, j, where j \in \{ 1,\dots,N_i \} , and i \in \{ 1,\dots,M \}

(a) Choose a topic z_{i,j} \,\sim\, \mathrm{Multinomial}(\theta_i).

(b) Choose a word w_{i,j} \,\sim\, \mathrm{Multinomial}( \phi_{z_{i,j}}) .

(Note that the Multinomial distribution here refers to the Multinomial with only one trial. It is formally equivalent to the categorical distribution.)

The lengths N_i are treated as independent of all the other data generating variables (q and z). The subscript is often dropped, as in the plate diagrams shown here.

Inference

Learning the various distributions (the set of topics, their associated word probabilities, the topic of each word, and the particular topic mixture of each document) is a problem of Bayesian inference. The original paper used a variational Bayes approximation of the posterior distribution;[1] alternative inference techniques use Gibbs sampling and expectation propagation.

Following is the derivation of the equations for collapsed Gibbs sampling, which means \varphis and \thetas will be integrated out. For simplicity, in this derivation the documents are all assumed to have the same length N_{}. The derivation is equally valid if the document lengths vary.

Applications, extensions and similar techniques

Topic modeling is a classic problem in information retrieval. Related models and techniques are, among others, latent semantic indexing, independent component analysis, probabilistic latent semantic indexing, non-negative matrix factorization, and Gamma-Poisson distribution.

The LDA model is highly modular and can therefore be easily extended. The main field of interest is modeling relations between topics. This is achieved by using another distribution on the simplex instead of the Dirichlet. The Correlated Topic Model follows this approach, inducing a correlation structure between topics by using the logistic normal distribution instead of the Dirichlet. Another extension is the hierarchical LDA (hLDA), where topics are joined together in a hierarchy by using the nested Chinese restaurant process. LDA can also be extended to a corpus in which a document includes two types of information (e.g., words and names), as in the LDA-dual model. Nonparametric extensions of LDA include the Hierarchical Dirichlet process mixture model, which allows the number of topics to be unbounded and learnt from data and the Nested Chinese Restaurant Process which allows topics to be arranged in a hierarchy whose structure is learnt from data.

As noted earlier, PLSA is similar to LDA. The LDA model is essentially the Bayesian version of PLSA model. The Bayesian formulation tends to perform better on small datasets because Bayesian methods can avoid overfitting the data. In a very large dataset, the results are probably the same. One difference is that PLSA uses a variable d to represent a document in the training set. So in PLSA, when presented with a document the model hasn't seen before, we fix \Pr(w \mid z)—the probability of words under topics—to be that learned from the training set and use the same EM algorithm to infer \Pr(z \mid d)—the topic distribution under d. Blei argues that this step is cheating because you are essentially refitting the model to the new data.

Variations on LDA have been used to automatically put natural images into categories, such as "bedroom" or "forest", by treating an image as a document, and small patches of the image as words; one of the variations is called Spatial Latent Dirichlet Allocation.

from wiki http://en.wikipedia.org/wiki/Latent_Dirichlet_allocation