UC Berkeley Group for User Interface Research
Updated November 17, 2000

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.
 
Constructor Summary
Classifier.Result(GestureCategory cat, double acc, double dist)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.
Constructor Detail

Classifier.Result

public Classifier.Result(GestureCategory cat,
                         double acc,
                         double dist)

Copyright Information