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

List of all members
InitParameter Class Reference

Parameters for computing initial clusters for the K-Means method. More...

Class Constructor

InitParameter ( DaalContext  context,
long  nClusters,
long  offset 
)

Constructs a parameter

Parameters
contextContext to manage the parameter for computing initial clusters for the K-Means algorithm
nClustersNumber of clusters
offsetOffset in the total data set specifying the start of a block stored on a given local node
InitParameter ( DaalContext  context,
long  nClusters 
)

Constructs a parameter

Parameters
contextContext to manage the parameter for computing initial clusters for the K-Means algorithm
nClustersNumber of clusters

Detailed Description

Member Function Documentation

long getNClusters ( )

Retrieves the number of clusters

Returns
Number of clusters
long getNRounds ( )

Kmeans|| only. Retrieves the number of rounds for k-means||. (oversamplingFactor*nRounds) > 1 is a requirement.

Returns
Number of rounds
long getNRowsTotal ( )

Retrieves the total number of rows in the distributed processing mode

Returns
Total number of rows
long getOffset ( )

Retrieves the offset in the total data set specifying the start of a block stored on a given local node

Returns
Offset in the total data set
double getOversamplingFactor ( )

Kmeans|| only. Retrieves fraction of nClusters being chosen in each of nRounds of kmeans||. L = nClusters* oversamplingFactor points are sampled in a round.

Returns
Fraction of nClusters
void setNClusters ( long  nClusters)

Sets the number of clusters

Parameters
nClustersNumber of clusters
void setNRounds ( long  nRounds)

Kmeans|| only. Sets the number of rounds for k-means||. (L*nRounds) > 1 is a requirement.

Parameters
nRoundsNumber of rounds
void setNRowsTotal ( long  nRowsTotal)

Sets the total number of rows in the distributed processing mode

Parameters
nRowsTotalTotal number of rows
void setOffset ( long  offset)

Sets the offset in the total data set specifying the start of a block stored on a given local node

Parameters
offsetOffset in the total data set specifying the start of a block stored on a given local node
void setOversamplingFactor ( double  factor)

Kmeans|| only. Sets fraction of nClusters being chosen in each of nRounds of kmeans||. L = nClusters* oversamplingFactor points are sampled in a round.

Parameters
factorFraction of nClusters

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

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