Examples of runCrossValidation()


Examples of cc.mallet.topics.HDP.runCrossValidation()

    //get preplexity
    double prep = inferencer.getPreplexity();
    System.out.println("preplexity for the test set=" + prep);
   
    //10-folds cross validation, with 1000 iteration for each test.
    hdp.runCrossValidation(10, 1000);
   
  }

}
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.