C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

List of all members
Parameter Struct Reference

Parameters for computing initial centroids for the K-Means algorithm. More...

Class Declaration

struct DAAL_EXPORT Parameter : public daal::algorithms::Parameter
{
Parameter(size_t _nClusters, size_t _offset = 0, size_t _seed = 777777);
Parameter(const Parameter &other);
size_t nClusters;
size_t nRowsTotal;
size_t offset;
size_t seed;
size_t nRounds;
engines::EnginePtr engine;
services::Status check() const DAAL_C11_OVERRIDE;
};

Constructor & Destructor Documentation

◆ Parameter() [1/2]

Parameter ( size_t  _nClusters,
size_t  _offset = 0,
size_t  _seed = 777777 
)

Parameter constructor

Parameters
[in]_nClustersNumber of clusters
[in]_offsetOffset in the total data set specifying the start of a block stored on a given local node
[in]_seedSeed for generating random numbers for the initialization
Deprecated:
This item will be removed in a future release. Use engine instead.

◆ Parameter() [2/2]

Parameter ( const Parameter other)

Constructs parameters of the algorithm that computes initial centroids for the K-Means algorithm by copying another parameters object

Parameters
[in]otherParameters of the K-Means algorithm

Member Data Documentation

◆ engine

engines::EnginePtr engine

Engine to be used for generating random numbers for the initialization

◆ nClusters

size_t nClusters

Number of clusters

◆ nRounds

size_t nRounds

Kmeans|| only. Number of rounds for k-means||. (oversamplingFactor*nRounds) > 1 is a requirement. See section (3.3) of [2]

◆ nRowsTotal

size_t nRowsTotal

Total number of rows in the data set

◆ offset

size_t offset

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

◆ oversamplingFactor

double oversamplingFactor

Kmeans|| only. A fraction of nClusters being chosen in each of nRounds of kmeans||.\ L = nClusters* oversamplingFactor points are sampled in a round. See section (3.3) of [2]

◆ seed

size_t seed

Seed for generating random numbers for the initialization

Deprecated:
This item will be removed in a future release. Use engine instead.

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

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