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

Namespaces | Enumerations
daal::algorithms::kmeans Namespace Reference

Contains classes of K-Means algorithm.

Namespaces

 init
 Contains classes for computing initial centroids for K-Means algorithm.
 
 interface1
 Contains version 1.0 of the Intel(R) Data Analytics Acceleration Library (Intel(R) DAAL) interface.
 

Enumerations

enum  Method { lloydDense = 0, defaultDense = 0, lloydCSR = 1 }
 
enum  DistanceType { euclidean }
 
enum  InputId { data, inputCentroids }
 Available identifiers of input objects for K-Means algorithm. More...
 
enum  MasterInputId { partialResults }
 Available identifiers of input objects for K-Means algorithm in the distributed processing mode. More...
 
enum  PartialResultId {
  nObservations, partialSums, partialObjectiveFunction, partialGoalFunction = partialObjectiveFunction,
  partialAssignments, partialCandidatesDistances, partialCandidatesCentroids
}
 Available identifiers of partial results of K-Means algorithm in the distributed processing mode. More...
 
enum  ResultId {
  centroids, assignments, objectiveFunction, goalFunction = objectiveFunction,
  nIterations
}
 Available identifiers of results of K-Means algorithm. More...
 

Enumeration Type Documentation

Supported distance types

Enumerator
euclidean 

Euclidean distance

enum InputId

Enumerator
data 

Input data table

inputCentroids 

Initial centroids for the algorithm

Enumerator
partialResults 

Collection of partial results computed on local nodes

enum Method

Available methods of K-Means algorithm

Enumerator
lloydDense 

Default: performance-oriented method, synonym of defaultDense

defaultDense 

Default: performance-oriented method, synonym of lloydDense

lloydCSR 

Implementation of the Lloyd algorithm for CSR numeric tables

Enumerator
nObservations 

Table containing the number of observations assigned to centroids

partialSums 

Table containing the sum of observations assigned to centroids

partialObjectiveFunction 

Table containing an objective function value

partialGoalFunction 

Table containing an objective function value

Deprecated:
This item will be removed in a future release.
partialAssignments 

Table containing assignments of observations to particular clusters

partialCandidatesDistances 

Table containing goal function of observations most distant from their assigned cluster center

partialCandidatesCentroids 

Table containing observations most distant from their assigned cluster center

enum ResultId

Enumerator
centroids 

Table containing cluster centroids

assignments 

Table containing assignments of observations to particular clusters

objectiveFunction 

Table containing an objective function value

goalFunction 

Table containing an objective function value

Deprecated:
This item will be removed in a future release.
nIterations 

Table containing the number of executed iterations

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