|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.ximtec.igesture.batch.BatchResult
public class BatchResult
Represents the result with key figures, etc. of the batch process.
| Constructor Summary | |
|---|---|
BatchResult(TestSet testSet,
Configuration configuration)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BatchResult(TestSet testSet,
Configuration configuration)
| Method Detail |
|---|
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()
public List<Statistic> getStatistics()
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||