TClassifier.MaxPriorProbability Method

function MaxPriorProbability(var ClassIndex: integer): double;

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

Returns: double

Remarks:

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