Java* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

List of all members
InitBatch Class Reference

Computes initial clusters for the K-Means algorithm in the batch processing mode. More...

Class Constructor

◆ InitBatch() [1/2]

InitBatch ( DaalContext  context,
InitBatch  other 
)

Constructs an algorithm for computing initial clusters for the K-Means algorithm in the batch 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

◆ InitBatch() [2/2]

InitBatch ( DaalContext  context,
Class<? extends Number >  cls,
InitMethod  method,
long  nClusters 
)

Constructs an algorithm for computing initial clusters for the K-Means algorithm in the batch processing mode

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

Detailed Description

References

Member Function Documentation

◆ clone()

InitBatch clone ( DaalContext  context)

Returns the newly allocated algorithm for computing initial clusters for the K-Means algorithm in the batch 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

◆ compute()

InitResult compute ( )

Computes initial clusters for the K-Means algorithm

Returns
Results of computing initial clusters for the K-Means algorithm

◆ setResult()

void setResult ( InitResult  result)

Registers user-allocated memory to store the results of computing initial clusters for the K-Means algorithm

Parameters
resultStructure to store the results of computing initial clusters for the K-Means algorithm

Member Data Documentation

◆ input

InitInput input

Input data

◆ method

InitMethod method

Method for computing initial clusters

◆ parameter

InitParameter parameter

Parameters for computing initial clusters


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

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