IMSL C# Numerical Library

DiscriminantAnalysis.GetClassMembership Method 

Returns the group number to which the observation was classified.

public int[] GetClassMembership();

Return Value

An int array containing the group to which the observation was classified.

Remarks

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.

See Also

DiscriminantAnalysis Class | Imsl.Stat Namespace