Examples of ACRFEvaluator


Examples of cc.mallet.grmm.learning.ACRFEvaluator

  public boolean evaluate (ACRF acrf, int iter, InstanceList training, InstanceList validation, InstanceList testing)
  {
    boolean ret = true;
    for (Iterator it = evals.iterator (); it.hasNext ();) {
      ACRFEvaluator evaluator = (ACRFEvaluator) it.next ();
      // Return false (i.e., stop training) if any sub-evaluator does.
      ret = ret && evaluator.evaluate (acrf, iter, training, validation, testing);
    }
    return ret;
  }
View Full Code Here

Examples of cc.mallet.grmm.learning.ACRFEvaluator

  }

  public void test (InstanceList gold, List returned, String description)
  {
    for (Iterator it = evals.iterator (); it.hasNext ();) {
      ACRFEvaluator eval =  (ACRFEvaluator) it.next ();
      eval.test (gold, returned, description);
    }
  }
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.