edu.berkeley.guir.lib.gesture
Class Classifier.Result
java.lang.Object
|
+--edu.berkeley.guir.lib.gesture.Classifier.Result
- Enclosing class:
- Classifier
- public class Classifier.Result
- extends Object
Used to return the results of a classification.
Field Summary |
double |
accuracy
Estimated accuracy of the classification. |
GestureCategory |
category
the GestureCategory that best fits the example |
double |
distToMean
Mahalanobis distance from the example to the mean of the
category given by gcIndex. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
category
public GestureCategory category
- the GestureCategory that best fits the example
accuracy
public double accuracy
- Estimated accuracy of the classification. 1.0 is the best,
0 is the worst.
distToMean
public double distToMean
- Mahalanobis distance from the example to the mean of the
category given by gcIndex.
Classifier.Result
public Classifier.Result(GestureCategory cat,
double acc,
double dist)