struct.sequence
Class SequenceAccuracyEvaluator

java.lang.Object
  extended by struct.sequence.SequenceAccuracyEvaluator
All Implemented Interfaces:
SLEvaluator

public class SequenceAccuracyEvaluator
extends java.lang.Object
implements SLEvaluator

An evaluator to evaluate sequence accuracy.

Version:
07/15/2006

Field Summary
private static java.util.logging.Logger logger
           
 
Constructor Summary
SequenceAccuracyEvaluator()
           
 
Method Summary
 void evaluate(SLInstance[] data, Predictor pred)
          Evaluates the predictor with the data according to this evaluator.
 void evaluate(SLInstance[] data, Predictor predictor, java.lang.String featureFile)
          Evaluates the predictor with the data according to this evaluator.
 void evaluate(SLInstance[] data, Predictor predictor, java.lang.String featureFile, java.lang.String outFile)
          Evaluates the predictor with the instances.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static java.util.logging.Logger logger
Constructor Detail

SequenceAccuracyEvaluator

public SequenceAccuracyEvaluator()
Method Detail

evaluate

public void evaluate(SLInstance[] data,
                     Predictor pred)
Description copied from interface: SLEvaluator
Evaluates the predictor with the data according to this evaluator.

Specified by:
evaluate in interface SLEvaluator

evaluate

public void evaluate(SLInstance[] data,
                     Predictor predictor,
                     java.lang.String featureFile)
              throws java.io.IOException
Description copied from interface: SLEvaluator
Evaluates the predictor with the data according to this evaluator.

Specified by:
evaluate in interface SLEvaluator
Throws:
java.io.IOException

evaluate

public void evaluate(SLInstance[] data,
                     Predictor predictor,
                     java.lang.String featureFile,
                     java.lang.String outFile)
              throws java.io.IOException
Evaluates the predictor with the instances.

Throws:
java.io.IOException


Copyright (C) 2006 University of Pennsylvania.