TStatisticClassifier.MaxPriorProbability Method

function MaxPriorProbability(var ClassIndex: integer): double; virtual;

Returns the index of the class, which has the highest count of examples and thus the highest prior probability, with ClassIndex.

#NameTypeDescription
1ClassIndexinteger

Returns: double

Remarks:

The function will also return the probability of that class as the function result.