Computes initial clusters for the K-Means algorithm in the distributed processing mode on the master node.
More...
◆ InitDistributedStep2Master() [1/2]
Constructs an algorithm for computing initial clusters for the K-Means algorithm in the second 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 |
◆ InitDistributedStep2Master() [2/2]
Constructs an algorithm for computing initial clusters for the K-Means algorithm in the second step of the distributed processing mode
- Parameters
-
context | Context to manage initial clusters for the algorithm |
cls | Data type to use in intermediate computations of initial clusters for the algorithm, Double.class or Float.class |
method | Computation method, InitMethod |
nClusters | Number of initial clusters for the K-Means algorithm |
◆ clone()
Returns the newly allocated algorithm for computing initial clusters for the K-Means algorithm in the second 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
◆ compute()
Computes initial clusters for the K-Means algorithm in the second step of the distributed processing mode
- Returns
- Partial results of computing initial clusters for the K-Means algorithm
◆ finalizeCompute()
Computes the results of K-Means initialization in the second step of the distributed processing mode
- Returns
- Results of K-Means initialization
◆ setPartialResult() [1/2]
Registers user-allocated memory to store partial results of computing initial clusters for the K-Means algorithm in the second step of the distributed processing mode
- Parameters
-
partialResult | Structure to store partial results of computing initial clusters for the K-Means algorithm |
initFlag | Flag that specifies initialization of partial results |
◆ setPartialResult() [2/2]
Registers user-allocated memory to store partial results of computing initial clusters for the K-Means algorithm in the second step of the distributed processing mode
- Parameters
-
partialResult | Structure to store partial results of computing initial clusters for the K-Means algorithm |
◆ setResult()
Registers user-allocated memory to store the results of computing initial clusters for the K-Means algorithm in the second step of the distributed processing mode
- Parameters
-
result | Structure to store the results of computing initial clusters for the K-Means algorithm |
◆ input
◆ method
Method for computing initial clusters
◆ parameter
Parameters for computing initial clusters
◆ partialResult
Partial result of the initialization algorithm
The documentation for this class was generated from the following file:
- InitDistributedStep2Master.java