Package cc.mallet.topics

Examples of cc.mallet.topics.HierarchicalLDA.printState()


    hlda.estimate(numIterations.value());
   
    // Output results

    if (stateFile.value() != null) {
      hlda.printState(new PrintWriter(stateFile.value()));
    }

    if (testing != null) {
      double empiricalLikelihood = hlda.empiricalLikelihood(1000, testing);
      System.out.println("Empirical likelihood: " + empiricalLikelihood);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.