diva.sketch.classification
Class CrossValidation.CVResult
java.lang.Object
diva.sketch.classification.CrossValidation.CVResult
- Enclosing class:
- CrossValidation
public static class CrossValidation.CVResult
- extends Object
CrossValidation.CVResult
public CrossValidation.CVResult()
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.