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

List of all members
Batch Class Reference

Computes the results of the K-Means algorithm in the batch processing mode. More...

Class Constructor

◆ Batch() [1/2]

Batch ( DaalContext  context,
Batch  other 
)

Constructs the K-Means algorithm in the batch processing mode by copying input objects and parameters of another K-Means algorithm

Parameters
contextContext to manage the constructed algorithm
otherAn algorithm to be used as the source to initialize the input objects and parameters of the algorithm

◆ Batch() [2/2]

Batch ( DaalContext  context,
Class<? extends Number >  cls,
Method  method,
long  nClusters,
long  maxIterations 
)

Constructs the K-Means algorithm in the batch processing mode

Parameters
contextContext to manage the constructed algorithm
clsData type to use in intermediate computations for the algorithm, Double.class or Float.class
methodComputation method of the algorithm, Method
nClustersNumber of clusters for the algorithm
maxIterationsMaximum number of iterations

Detailed Description

References

Member Function Documentation

◆ clone()

Batch clone ( DaalContext  context)

Returns the newly allocated K-Means algorithm in the batch processing mode with a copy of input objects and parameters of this K-Means algorithm

Parameters
contextContext to manage the constructed algorithm
Returns
The newly allocated algorithm

◆ compute()

Result compute ( )

Runs the K-Means algorithm

Returns
Result of the K-Means algorithm

◆ setResult()

void setResult ( Result  result)

Registers user-allocated memory to store the results of the K-Means algorithm

Parameters
resultStructure to store the results of the K-Means algorithm

Member Data Documentation

◆ input

Input input

Input data

◆ method

Method method

Computation method for the algorithm

◆ parameter

Parameter parameter

Parameters of the algorithm


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

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