Java* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5

List of all members
InitDistributedStep2Master Class Reference

Computes initial clusters for the K-Means algorithm in the distributed processing mode on the master node. More...

Class Constructor

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
contextContext to manage initial clusters for the K-Means algorithm
otherAn algorithm to be used as the source to initialize the input objects and parameters of the algorithm
InitDistributedStep2Master ( DaalContext  context,
Class<?extends Number >  cls,
InitMethod  method,
long  nClusters 
)

Constructs an algorithm for computing initial clusters for the K-Means algorithm in the second step of the distributed processing mode

Parameters
contextContext to manage initial clusters for the algorithm
clsData type to use in intermediate computations of initial clusters for the algorithm, Double.class or Float.class
methodComputation method, InitMethod
nClustersNumber of initial clusters for the K-Means algorithm

Detailed Description

References

Member Function Documentation

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
contextContext to manage initial clusters for the K-Means algorithm
Returns
The newly allocated algorithm
InitPartialResult 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
InitResult finalizeCompute ( )

Computes the results of K-Means initialization in the second step of the distributed processing mode

Returns
Results of K-Means initialization
void setPartialResult ( InitPartialResult  partialResult,
boolean  initFlag 
)

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
partialResultStructure to store partial results of computing initial clusters for the K-Means algorithm
initFlagFlag that specifies initialization of partial results
void setPartialResult ( InitPartialResult  partialResult)

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
partialResultStructure to store partial results of computing initial clusters for the K-Means algorithm
void setResult ( InitResult  result)

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
resultStructure to store the results of computing initial clusters for the K-Means algorithm

Member Data Documentation

Input data

InitMethod method

Method for computing initial clusters

InitParameter parameter

Parameters for computing initial clusters

InitPartialResult partialResult
protected

Partial result of the initialization algorithm


The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.