Examples of evaluateInstanceList()


Examples of cc.mallet.fst.TokenAccuracyEvaluator.evaluateInstanceList()

    crft.trainIncremental(lists[0]);

    TokenAccuracyEvaluator eval = new TokenAccuracyEvaluator(lists,
        new String[] { "Train", "Test" });
    eval.evaluateInstanceList(crft, lists[1], "Test");

    assertEquals(0.9409, eval.getAccuracy("Test"), 0.001);

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