IMSL C# Numerical Library

ClusterKMeans.GetClusterCounts Method 

Returns the number of observations in each cluster. Note that the Compute method must be invoked first before invoking this method. Otherwise, the method throws a NullReferenceException exception.

public int[] GetClusterCounts();

Return Value

An int array containing the number of observations in each cluster.

See Also

ClusterKMeans Class | Imsl.Stat Namespace