Bayesian Class Reference
Bayesian is a classifier that uses Bayesian conditional probability to classify gestures. More...
Inheritance diagram for Bayesian:

Collaboration diagram for Bayesian:

Public Member Functions | |
| Bayesian (Vector< GestureModel > m) | |
| Creates a Bayesian Classifier with the given set of GestureModels.   | |
| GestureModel | classify (Vector< Accel3D > g) | 
| Classifies a given gesture against the Classifier's set of GestureModels.   | |
| double | getLastProbability () | 
| Returns the probability of the last classification.   | |
| Vector< GestureModel > | getModels () | 
| Returns the set of GestureModels that form this Classifier.   | |
Static Public Attributes | |
| static final int | BAYESIAN = 0 | 
| This is the Classifier type index for Bayesian classifiers.   | |
| static final int | NUM_TYPES_SUPPORTED = 1 | 
| Number of classifier types implemented (to be changed if extended).   | |
Detailed Description
Bayesian is a classifier that uses Bayesian conditional probability to classify gestures.
Constructor & Destructor Documentation
| Bayesian | ( | Vector< GestureModel > | m | ) | 
Creates a Bayesian Classifier with the given set of GestureModels.
- Parameters:
 - 
  
m the set of GestureModels used in construction  
Member Function Documentation
| GestureModel classify | ( | Vector< Accel3D > | g | ) | 
Classifies a given gesture against the Classifier's set of GestureModels.
- Returns:
 - the GestureModel matched with maximum probability (or null if a match failed)
 
Implements Classifier.
| double getLastProbability | ( | ) | 
Returns the probability of the last classification.
- Returns:
 - the double representing the probability of the last classification
 
Implements Classifier.
| Vector<GestureModel> getModels | ( | ) | 
Returns the set of GestureModels that form this Classifier.
- Returns:
 - a Vector of GestureModels that form the Classifier
 
Implements Classifier.
Member Data Documentation
final int BAYESIAN = 0 [static, inherited] | 
        
This is the Classifier type index for Bayesian classifiers.
final int NUM_TYPES_SUPPORTED = 1 [static, inherited] | 
        
Number of classifier types implemented (to be changed if extended).
The documentation for this class was generated from the following file:
- /Users/dev/Documents/SVN brazos.cs.tcu.edu/trunk/FROG/src/frog/Bayesian.java
 
        
        