Returns the posterior probabilities for each observation.

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

Syntax

C#
public double[,] GetProbability()
Visual Basic (Declaration)
Public Function GetProbability As Double(,)
Visual C++
public:
array<double,2>^ GetProbability()

Return Value

An nGroups.GetLength(0) by nGroupsdouble matrix containing the posterior probabilities for each observation. Note this will return the probabilities of the last set of observations classified.

Remarks

An InvalidOperationException is thrown if no data has been classified.

See Also