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: TCrossValidator
Declaration: property TPRate [varix: integer]: double

The array property TPRate returns the true positive rate for binary response variables, assuming that the binary target values are 1 and "not 1" (usually 0 or -1). TPRate is automatically reset to its default value (-1.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 TPRate 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: 2013-Mar-24