types
Class Evaluation

java.lang.Object
  extended by types.Evaluation

public class Evaluation
extends Object


Field Summary
 int correct
           
 int fn
           
 int fp
           
 int tn
           
 int total
           
 int tp
           
 
Constructor Summary
Evaluation(int correct, int total, int tp, int fp, int fn)
           
 
Method Summary
 double accuracy()
           
 void add(Evaluation e)
           
 double fscore()
           
 double precision()
           
 double recall()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tp

public int tp

fp

public int fp

fn

public int fn

tn

public int tn

correct

public int correct

total

public int total
Constructor Detail

Evaluation

public Evaluation(int correct,
                  int total,
                  int tp,
                  int fp,
                  int fn)
Method Detail

accuracy

public double accuracy()

precision

public double precision()

recall

public double recall()

fscore

public double fscore()

toString

public String toString()
Overrides:
toString in class Object

add

public void add(Evaluation e)


Copyright © 2009. All Rights Reserved.