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.
Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public int[] GetClusterMembership() |
Visual Basic (Declaration) |
---|
Public Function GetClusterMembership As Integer() |
Visual C++ |
---|
public: array<int>^ GetClusterMembership() |
Return Value
An int array containing the cluster membership for each observation.
Remarks
Cluster membership 1 indicates the observation belongs to cluster 1, cluster membership 2 indicates the observation belongs to cluster 2, etc.