public class BatchResult extends Object
| Constructor and Description |
|---|
BatchResult(TestSet testSet,
Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
getConfiguration()
Returns the configuration.
|
int |
getNumberOfCorrects()
Returns the number of correctly recognised gestures.
|
int |
getNumberOfErrors()
Returns the number of incorrectly recognised gestures.
|
int |
getNumberOfNoise()
Returns the number of samples which should be rejected.
|
int |
getNumberOfRejectCorrect()
Returns the number of gestures which are rejected correctly.
|
int |
getNumberOfRejectError()
Returns the number of rejected gestures which should have been recognised.
|
int |
getNumberOfSamples()
Returns the size of the complete test set.
|
double |
getPrecision()
Computes the precision.
|
double |
getRecall()
Computes the recall.
|
long |
getRunningTime()
Returns the running time in milliseconds.
|
List<Statistic> |
getStatistics()
Returns a list of statistics.
|
void |
incCorrect(String className)
Increases the number of correct recognitions.
|
void |
incError(String className)
Increases the number of errors.
|
void |
incRejectCorrect(String className)
Increments the number of correctly rejected gestures.
|
void |
incRejectError(String className)
Increments the number of wrongly rejected gestures.
|
void |
setEndTime()
Sets the end time to the current system time.
|
void |
setStartTime()
Sets the start time to the current system time.
|
public BatchResult(TestSet testSet, Configuration configuration)
public int getNumberOfCorrects()
public int getNumberOfErrors()
public int getNumberOfRejectCorrect()
public int getNumberOfRejectError()
public int getNumberOfSamples()
public int getNumberOfNoise()
public void incError(String className)
className - the name of the gesture class for which the number of
errors has to be increased.public void incCorrect(String className)
className - the name of the gesture class.public void incRejectCorrect(String className)
className - the name of the gesture class.public void incRejectError(String className)
className - the name of the gesture class.public double getPrecision()
public double getRecall()
public void setStartTime()
public void setEndTime()
public long getRunningTime()
public Configuration getConfiguration()
Copyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.