Click or drag to resize

KMeans Methods

The KMeans type exposes the following members.

Methods
  NameDescription
Public methodCentralElements
Get indices of central elements, one per cluster.
(Inherited from BaseClustering.)
Public methodCentroids
Returns Centroid matrix, each row represent centroid of corresponding cluster. Columns corresponds to factors.
(Inherited from BaseClustering.)
Public methodClearCache
Evaluate all lazy-evaluated properties and clear cached data.
(Inherited from BaseClustering.)
Public methodClusterize
Find nearest cluster by centroid distance
(Inherited from BaseClustering.)
Public methodClustersAssignment
Return array which contains assignment objects for clusters. ClustersAssignment[i] contain assignment of i-th object.
(Inherited from BaseClustering.)
Public methodComputeClustering(Matrix)
Method which perform clustering analysis.
(Overrides BaseClusteringComputeClustering(Matrix).)
Public methodComputeClustering(Matrix, MetricType)
Method which perform clustering analysis.
(Overrides BaseClusteringComputeClustering(Matrix, MetricType).)
Public methodComputeClustering(Matrix, MetricType, Boolean)
Method which perform clustering analysis.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetCluster
Get cluster as array of indices of assigned elements.
(Inherited from BaseClustering.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetClustersAssignment
Allows you to set initial cluster assignment. For each sample you must specify integer number from 1 to clusterCount, index of cluster it was assigned.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also