KMeansInitializationMethod Enumeration

Enumerates the methods that may be used to initialize the K-means clustering algorithm.

Definition

Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public enum KMeansInitializationMethod

Members

KMeansPlusPlus0 Use the K-means++ algorithm to compute initial centroids. This is the default.
RandomCenters1 Use randomly selected observations as the centroid.
Forgy1 Same as RandomCenters. Use randomly selected observations as the centroid.
RandomAssignments2 Assign each observation randomly to one of the clusters and uses the centroid of each cluster.

See Also