classification
Class Evaluate
java.lang.Object
  
classification.Evaluate
public class Evaluate
- extends Object
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Evaluate
public Evaluate()
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.