ClusterKMeansGetClusterCounts 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.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public int[] GetClusterCounts()
Public Function GetClusterCounts As Integer()
public:
array<int>^ GetClusterCounts()
member GetClusterCounts : unit -> int[]
Return Value
Type:
Int32
An
int array containing the number of observations in each
cluster.
See Also