Computes the results of the K-Means algorithm in the batch processing mode.
More...
Constructs the K-Means algorithm in the batch processing mode by copying input objects and parameters of another K-Means algorithm
- Parameters
-
context | Context to manage the constructed algorithm |
other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
Constructs the K-Means algorithm in the batch processing mode
- Parameters
-
context | Context to manage the constructed algorithm |
cls | Data type to use in intermediate computations for the algorithm, Double.class or Float.class |
method | Computation method of the algorithm, Method |
nClusters | Number of clusters for the algorithm |
maxIterations | Maximum number of iterations |
Returns the newly allocated K-Means algorithm in the batch processing mode with a copy of input objects and parameters of this K-Means algorithm
- Parameters
-
context | Context to manage the constructed algorithm |
- Returns
- The newly allocated algorithm
Runs the K-Means algorithm
- Returns
- Result of the K-Means algorithm
void setResult |
( |
Result |
result | ) |
|
Registers user-allocated memory to store the results of the K-Means algorithm
- Parameters
-
result | Structure to store the results of the K-Means algorithm |
Computation method for the algorithm
Parameters of the algorithm
The documentation for this class was generated from the following file: