C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

List of all members
Parameter Struct Reference

Parameters for 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 ( size_t  _nClusters,
size_t  _maxIterations 
)

Constructs parameters of K-Means algorithm

Parameters
[in]_nClustersNumber of clusters
[in]_maxIterationsNumber of iterations
Parameter ( const Parameter other)

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

Parameters
[in]otherParameters of K-Means algorithm

Member Data Documentation

double accuracyThreshold

Threshold for the termination of the algorithm

bool assignFlag

Do data points assignment

DistanceType distanceType

Distance used in the algorithm

double gamma

Weight used in distance computation for categorical features

size_t maxIterations

Number of iterations

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.