classification
Class PrecRecLoss
java.lang.Object
  
classification.PrecRecLoss
- All Implemented Interfaces: 
 - Loss
 
public class PrecRecLoss
- extends Object
- implements Loss
  
This class implements a loss function for high precision or recall.
- Author:
 
  - Kuzman Ganchev and Georgi Georgiev kuzman.ganchev@ontotext.com
         Date: Thu Feb 26 12:27:56 EET 2009
 
| 
Constructor Summary | 
PrecRecLoss(int tagOfInterest,
            double precWeight)
 
            | 
 
| 
Method Summary | 
 double | 
calculate(int truth,
          int guess)
 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PrecRecLoss
public PrecRecLoss(int tagOfInterest,
                   double precWeight)
calculate
public double calculate(int truth,
                        int guess)
- Specified by:
 calculate in interface Loss
 
 
Copyright © 2009. All Rights Reserved.