5960616263646566676869
//set number of iterations, and display result or not hdp.estimate(2000); //get topic distribution for first instance double[] distr = hdp.topicDistribution(0); //print out for(int j=0; j<distr.length ; j++){ System.out.print(distr[j] + " "); }