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

List of all members
Batch Class Reference

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

Class Constructor

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 ( 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

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
Result compute ( )

Runs the K-Means algorithm

Returns
Result of the K-Means algorithm
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 data

Method method

Computation method for the algorithm

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.