sequence
Class Evaluate

java.lang.Object
  extended by sequence.Evaluate

public class Evaluate
extends Object


Constructor Summary
Evaluate()
           
 
Method Summary
static Evaluation eval(int[] truth, int[] guess, int tagOfInterest)
           
static Evaluation eval(LinearTagger h, ArrayList<SequenceInstance> data, int tagOfInterest)
          Compute evaluation of entire instance list, with respect to a single tag.
static Evaluation eval(LinearTagger h, SequenceInstance inst, int tagOfInterest)
          Compute evaluation of entire instance list, with respect to a single tag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Evaluate

public Evaluate()
Method Detail

eval

public static Evaluation eval(LinearTagger h,
                              ArrayList<SequenceInstance> data,
                              int tagOfInterest)
Compute evaluation of entire instance list, with respect to a single tag.

Parameters:
h -
data -
tagOfInterest - tag wrt which we compute tp,fp,fn
Returns:

eval

public static Evaluation eval(LinearTagger h,
                              SequenceInstance inst,
                              int tagOfInterest)
Compute evaluation of entire instance list, with respect to a single tag.

Parameters:
h -
data -
tagOfInterest - tag wrt which we compute tp,fp,fn
Returns:

eval

public static Evaluation eval(int[] truth,
                              int[] guess,
                              int tagOfInterest)


Copyright © 2009. All Rights Reserved.