Kmeans Class Reference
Kmeans is a Quantizer implementation that utilizes the k-means algorithm (as well as k-means++ if requested) to select appropriate representatives (that is, build its codebook).
More...
List of all members.
Detailed Description
Kmeans is a Quantizer implementation that utilizes the k-means algorithm (as well as k-means++ if requested) to select appropriate representatives (that is, build its codebook).
- Author:
- Team Better Recognize
Constructor & Destructor Documentation
Constructs a Kmeans quantizer with a given 3D acceleration data set.
- Parameters:
-
Constructs a Kmeans quantizer with a given set of k-means parameters and a 3D acceleration data set.
- Parameters:
-
| params | quantizing parameters |
| in | a set of Accel3D values |
Member Function Documentation
Returns the array of Accel3Ds making up the means for this Quantizer.
- Returns:
- the array of Accel3Ds making up the means for this Quantizer.
Accessor for the number of means.
- Returns:
- the number of means.
void setDataSet |
( |
Vector< Accel3D > |
data |
) |
|
For Kmeans, the size corresponds to the number of means (k).
Implements Quantizer.
For Kmeans, translates to the index of the closest mean determined by the k-means algorithm.
Implements Quantizer.
Member Data Documentation
final int KMEANS = 0 [static, inherited] |
The documentation for this class was generated from the following file:
- /Users/dev/Documents/SVN brazos.cs.tcu.edu/trunk/FROG/src/frog/Kmeans.java