Computes K-Means in the distributed processing mode on local nodes.
More...
Constructs the K-Means algorithm by copying input objects and parameters of another K-Means algorithm
- Parameters
-
context | Context to manage the 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
- Parameters
-
context | Context to manage the 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 |
Returns the newly allocated K-Means algorithm with a copy of input objects and parameters of this K-Means algorithm
- Parameters
-
context | Context to manage the algorithm |
- Returns
- The newly allocated algorithm
Runs the K-Means algorithm
- Returns
- Partial results of the K-Means algorithm
Computes the results of the K-Means algorithm
- Returns
- Results of the K-Means algorithm
Registers user-allocated memory to store partial results of the K-Means algorithm
- Parameters
-
partialResult | Structure to store partial results 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 |
Parameters of the algorithm
The documentation for this class was generated from the following file:
- kmeans/DistributedStep1Local.java