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....



TpRate


Unit: SDL_statis
Class: TCFEvaluator
Declaration: function TpRate: double;

The function TpRate calculates the true positive rate (a.k.a. sensitivity, recall or hit rate) of the classifier for a particular threshold which has to be set by calling the method CalcConfusionMatrix. The valid range for the true positive rate is from 0.0 to 1.0. A negative value indicates a condition where the true positive rate cannot be calculated:
-1 ... the method CalcConfusionMatrix has not been called before
-2 ... the actual (true) values are not dichotomous



Last Update: 2020-Apr-13