Package cc.mallet.topics

Examples of cc.mallet.topics.LDAStream.estimate()


        if (outputStateInterval.value != 0) {
            lda.setSaveState(outputStateInterval.value, stateFile.value);
        }

    lda.estimate();
    //save the model, we need typeTopicCounts and tokensPerTopic for empirical likelihood
    lda.write(new File (inputFile.value + ".model"));

    if (topicKeysFile.value != null) {
      lda.printTopWords(new File(topicKeysFile.value), topWords.value, false);
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.