mixnet = HPAM2 description: Hierarchical PAM model (HPAM2), testing C1B and C2 structures as well as custom selectors with switch. Model with fully dependent samplers. preferences: verbose = 1 formatCode = 0 fastSerial = 0 fastParallel = 0 parallelMode = 0 indepSamplers = 1 directAssign = 0 nameSuffix = 1 runModel = 0 # standard values K = 15 alpha = 0.1 corpus = nips/nips iter = 20 iterq = 10 nodes: # "active" K are X-1 and Y-1 doc-suptop = theta : M, X | alpha : X top-subtop = thetax : M, X, Y | alphax : X, Y hiertop-word = phi : 1 + X + Y, V | beta : 1 sequences: words = w : m, n : M, w[m].length : W edges: words = w :: document = m : M suptopic = x : X subtopic = y : Y word = w : V network: m >> theta | alpha >> x m,x >> thetax | alphax[x] >> y x,y >> phi[k] >> w k : { // TODO: x==0 --> y = IDLE ? if (x==0) { k = 0; } else if (y==0) k = 1 + x; else k = 1 + X + y; }.