from numpy import * from deltaLDA import deltaLDA alpha = .1 * ones((1,3)) beta = ones((3,5)) docs = [[1,1,2], [1,1,1,1,2], [3,3,3,4], [3,3,4,4,3,3], [0,0,0,0,0], [0,0,0,0]] numsamp = 50 randseed = 1 (phi,theta,sample) = deltaLDA(docs,alpha,beta,numsamp,randseed)
'@'.join(['andrzeje','.'.join(['cs','wisc','edu'])])