cc.mallet.fst
Class InstanceAccuracyEvaluator

java.lang.Object
  extended by cc.mallet.fst.TransducerEvaluator
      extended by 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
InstanceAccuracyEvaluator()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceAccuracyEvaluator

public InstanceAccuracyEvaluator()
Method Detail

evaluateInstanceList

public void evaluateInstanceList(TransducerTrainer tt,
                                 InstanceList data,
                                 java.lang.String description)
Specified by:
evaluateInstanceList in class TransducerEvaluator

getAccuracy

public double getAccuracy(java.lang.String description)