classification
Class Evaluate

java.lang.Object
  extended by classification.Evaluate

public class Evaluate
extends Object


Constructor Summary
Evaluate()
           
 
Method Summary
static Evaluation eval(int truth, int guess, int tagOfInterest)
           
static Evaluation[] eval(LinearClassifier h, ArrayList<ClassificationInstance> data)
           
static Evaluation eval(LinearClassifier h, ArrayList<ClassificationInstance> data, int tagOfInterest)
          Compute evaluation of entire instance list, with respect to a single tag.
static Evaluation eval(LinearClassifier h, ClassificationInstance 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(LinearClassifier h,
                              ArrayList<ClassificationInstance> 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(LinearClassifier h,
                                ArrayList<ClassificationInstance> data)

eval

public static Evaluation eval(LinearClassifier h,
                              ClassificationInstance 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.