First step of computing initial clusters for the K-Means algorithm on local nodes.
More...
Constructs an algorithm for computing initial clusters for the K-Means algorithm in the first step of the distributed processing mode by copying input objects and parameters of another algorithm
- Parameters
-
context | Context to manage initial clusters for the K-Means algorithm |
other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
Constructs an algorithm for computing initial clusters for the K-Means algorithm in the first step of the distributed processing mode
- Parameters
-
context | Context to manage initial clusters for the K-Means algorithm |
cls | Data type to use in intermediate computations of initial clusters for the K-Means algorithm, Double.class or Float.class |
method | Method of computing initial clusters for the algorithm, InitMethod |
nClusters | Number of initial clusters for the K-Means algorithm |
nRowsTotal | Number of rows in all data sets in the distributed processing mode |
offset | Offset in the total data set specifying the start of a block stored on a given local node |
Returns the newly allocated algorithm for computing initial clusters for the K-Means algorithm in the first step of the distributed processing mode with a copy of input objects and parameters of this algorithm
- Parameters
-
context | Context to manage initial clusters for the K-Means algorithm |
- Returns
- The newly allocated algorithm
Computes initial clusters for the K-Means algorithm
- Returns
- Partial results of computing initial clusters for the K-Means algorithm
Computes the results of K-Means initialization
- Returns
- Results of K-Means initialization
Registers user-allocated memory to store partial results of computing initial clusters for the K-Means algorithm
- Parameters
-
partialResult | Structure to store partial results of computing initial clusters for the K-Means algorithm |
initFlag | Flag that specifies initialization of partial results |
Registers user-allocated memory to store partial results of computing initial clusters for the K-Means algorithm
- Parameters
-
partialResult | Structure to store partial results of computing initial clusters for the K-Means algorithm |
Registers user-allocated memory to store the results of computing initial clusters for the K-Means algorithm
- Parameters
-
result | Structure to store the results of computing initial clusters for the K-Means algorithm |
Method for computing initial clusters
Parameters for computing initial clusters
Partial result of the initialization algorithm
The documentation for this class was generated from the following file:
- kmeans/init/InitDistributedStep1Local.java