Package cc.mallet.fst
Class InstanceAccuracyEvaluator
- java.lang.Object
-
- cc.mallet.fst.TransducerEvaluator
-
- cc.mallet.fst.InstanceAccuracyEvaluator
-
public class InstanceAccuracyEvaluator extends TransducerEvaluator
Reports the percentage of instances for which the entire predicted sequence was correct. Created: May 12, 2004- Version:
- $Id: InstanceAccuracyEvaluator.java,v 1.1 2007/10/22 21:37:48 mccallum Exp $
- Author:
-
-
-
Field Summary
-
Fields inherited from class cc.mallet.fst.TransducerEvaluator
instanceListDescriptions, instanceLists
-
-
Constructor Summary
Constructors Constructor Description InstanceAccuracyEvaluator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
evaluateInstanceList(TransducerTrainer tt, InstanceList data, java.lang.String description)
double
getAccuracy(java.lang.String description)
-
Methods inherited from class cc.mallet.fst.TransducerEvaluator
evaluate, preamble, precondition
-
-
-
-
-
Method Detail
-
evaluateInstanceList
public void evaluateInstanceList(TransducerTrainer tt, InstanceList data, java.lang.String description)
- Specified by:
evaluateInstanceList
in classTransducerEvaluator
-
getAccuracy
public double getAccuracy(java.lang.String description)
-
-