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

List of all members
InitDistributedStep2LocalPlusPlusParameter Class Reference

Parameters for computing initial clusters on the step 2 on local nodes. Kmeans++ and || only. More...

Class Constructor

InitDistributedStep2LocalPlusPlusParameter ( DaalContext  context,
long  nClusters,
boolean  bFirstIteration 
)

Constructs a parameter

Parameters
contextContext to manage the parameter for computing initial clusters for the K-Means algorithm
nClustersNumber of clusters
bFirstIterationTrue if step2Local is called for the first time

Detailed Description

Member Function Documentation

boolean getIsFirstIteration ( )

Returns true if step2Local is called for the first time

Returns
Number of clusters
boolean getOutputForStep5Required ( )

Kmeans|| only. Returns true if the last iteration of parallelPlus algorithm processing is performed and the output for the 5th step is required

Returns
Total number of rows
void setIsFirstIteration ( boolean  bFirstIteration)

Sets the firstIteration flag

Parameters
bFirstIterationfirstIteration flag
void setOutputForStep5Required ( boolean  bRequired)

Sets the outputForStep5Required flag

Parameters
bRequiredoutputForStep5Required flag

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

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