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

List of all members
Parameter Struct Reference

Parameters for the K-Means algorithm. More...

Class Declaration

Enumerations
struct DAAL_EXPORT Parameter : public daal::algorithms::Parameter
{
Parameter(size_t _nClusters, size_t _maxIterations);
Parameter(const Parameter &other);
size_t nClusters;
size_t maxIterations;
double gamma;
bool assignFlag;
services::Status check() const DAAL_C11_OVERRIDE;
};

Constructor & Destructor Documentation

◆ Parameter() [1/2]

Parameter ( size_t  _nClusters,
size_t  _maxIterations 
)

Constructs parameters of the K-Means algorithm

Parameters
[in]_nClustersNumber of clusters
[in]_maxIterationsNumber of iterations

◆ Parameter() [2/2]

Parameter ( const Parameter other)

Constructs parameters of the K-Means algorithm by copying another parameters of the K-Means algorithm

Parameters
[in]otherParameters of the K-Means algorithm

Member Data Documentation

◆ accuracyThreshold

double accuracyThreshold

Threshold for the termination of the algorithm

◆ assignFlag

bool assignFlag

Do data points assignment

◆ distanceType

DistanceType distanceType

Distance used in the algorithm

◆ gamma

double gamma

Weight used in distance computation for categorical features

◆ maxIterations

size_t maxIterations

Number of iterations

◆ nClusters

size_t nClusters

Number of clusters


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

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