Package com.digitalpebble.classification

Examples of com.digitalpebble.classification.Learner.learn()


   
    // prune terms
    // creator.pruneTermsDocFreq(2,subjectiveCorpus.size());
   
    long l0 = System.currentTimeMillis();
    creator.learn(subjectiveCorpus);
    long l1 = System.currentTimeMillis();
    System.err.println("learning done in "+(l1-l0));
  }
 
  public void testUseModel() throws Exception{
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.