Returns the group number to which the observation was classified.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public int[] GetClassMembership()
Visual Basic (Declaration)
Public Function GetClassMembership As Integer()
Visual C++
public:
array<int>^ GetClassMembership()

Return Value

An int array containing the group to which the observation was classified. If an observation has an invalid group number, frequency, or weight when the leaving-out-one method has been specified, then the observation is not classified and the corresponding elements of the array are set to zero. Note this will return the class membership of the last set of observations classified.

Remarks

An InvalidOperationException is thrown if no data has been classified.

See Also