The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



GetConfMatValues


Unit: SDL_statis
Class: TCFEvaluator
Declaration: function GetConfMatValues (var tp, fp, tn, fn: integer; var Thresh: double): integer;

The function GetConfMatValues returns the true positive (tp), the false positive (fp), the true negative (tn) and the false negative (fn) counts for a particular threshold (parameter Thresh) which has been defined when calling CalcConfusionMatrix.

The function returns the following error codes:

-1 ... the method CalcConfusionMatrix has not been called before
-2 ... the actual (true) values are not dichotomous



Last Update: 2023-Dec-08