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



TPCnt


Unit: SDL_statis
Class: TCrossValidator
Declaration: property TPCnt [varix: integer]: integer

The array property TPCnt returns the true positive count for binary response variables, assuming that the binary target values are 1 and "not 1" (usually 0 or -1). TPCnt is automatically reset to its default value (0) when the size of the test set is changed or if the cross validation is aborted (see OnCheckAbort event).

The parameter varix specifies the index of the response variable and may assume values between 1 and YMat.NrOfColumns.

Hint: If the (positive) target value of a particular output variable is not equal to 1.0 the TPCnt will be invalid because the true positive rate is defined only for binary classifiers assuming that a positively identified observation is indicated by a response value of 1.0



Last Update: 2023-Dec-08