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 |
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.
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.
Accessor for the number of means.
- Returns:
- the number of means.
void setDataSet |
( |
Vector< Accel3D > |
data |
) |
|
void setDataSet |
( |
Vector< Accel3D > |
data |
) |
|
For Kmeans, the size corresponds to the number of means (k).
Implements Quantizer.
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.
For Kmeans, translates to the index of the closest mean determined by the k-means algorithm.
Implements Quantizer.
Member Data Documentation
static final int KMEANS = 0 [static, inherited] |
The documentation for this class was generated from the following files:
- /Users/dev/Documents/SVN brazos.cs.tcu.edu/trunk/KmeansTest/src/Kmeans.java
- /Users/dev/Documents/SVN brazos.cs.tcu.edu/trunk/KmeansTestRandom/src/Kmeans.java