Returns the cluster membership for each observation. Note that the Compute
method must be invoked first before invoking this method. Otherwise, the method throws a NullReferenceException
exception.
An int
array containing the cluster membership for each observation.
Cluster membership 1 indicates the observation belongs to cluster 1, cluster membership 2 indicates the observation belongs to cluster 2, etc.
ClusterKMeans Class | Imsl.Stat Namespace