diva.sketch.classification
Class CrossValidation.CVResult

java.lang.Object
  extended by diva.sketch.classification.CrossValidation.CVResult
Enclosing class:
CrossValidation

public static class CrossValidation.CVResult
extends Object


Constructor Summary
CrossValidation.CVResult()
           
 
Method Summary
 void combine(CrossValidation.CVResult cvResult)
           
 double getAccuracyRate(String type)
           
 int getCorrectCount(String type)
           
 double getErrorRate(String type)
           
 int getIncorrectCount(String type)
           
 void incrCorrect(String trueType)
          Increment the number of correct count by 1 for the specified type.
 void incrIncorrect(String trueType)
          Increment the number of incorrect count by 1 for the specified type.
 String toString()
           
 Iterator types()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CrossValidation.CVResult

public CrossValidation.CVResult()
Method Detail

incrCorrect

public void incrCorrect(String trueType)
Increment the number of correct count by 1 for the specified type.


incrIncorrect

public void incrIncorrect(String trueType)
Increment the number of incorrect count by 1 for the specified type. This means the a "trueType" has been misrecognized as something else.


combine

public void combine(CrossValidation.CVResult cvResult)

getCorrectCount

public int getCorrectCount(String type)

getIncorrectCount

public int getIncorrectCount(String type)

getAccuracyRate

public double getAccuracyRate(String type)

getErrorRate

public double getErrorRate(String type)

types

public Iterator types()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.