Java* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2
Parameters for computing initial clusters on the step 2 on local nodes. Kmeans++ and || only. More...
InitDistributedStep2LocalPlusPlusParameter | ( | DaalContext | context, |
long | nClusters, | ||
boolean | bFirstIteration | ||
) |
Constructs a parameter
context | Context to manage the parameter for computing initial clusters for the K-Means algorithm |
nClusters | Number of clusters |
bFirstIteration | True if step2Local is called for the first time |
boolean getIsFirstIteration | ( | ) |
Returns true if step2Local is called for the first time
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
void setIsFirstIteration | ( | boolean | bFirstIteration | ) |
Sets the firstIteration flag
bFirstIteration | firstIteration flag |
void setOutputForStep5Required | ( | boolean | bRequired | ) |
Sets the outputForStep5Required flag
bRequired | outputForStep5Required flag |
For more complete information about compiler optimizations, see our Optimization Notice.