Click or drag to resize
DiscriminantAnalysisGetClassMembership Method
Returns the group number to which the observation was classified.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public int[] GetClassMembership()

Return Value

Type: Int32
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