TD_​ROC

Fast path function to Compute AUC, Gini and ROCValues(thresholds, false positive rates, and true positive rates) for binary classifiers.

Options

AUC
Specify whether the function displays the AUC calculated from the ROC values. Default: 'true'.
GINI
Specify whether the function displays the Gini coefficient calculated from the ROC values. The Gini coefficient is a measure of inequality among values of a frequency distribution. A Gini coefficient of 0 indicates that all values are the same. The closer the Gini coefficient is to 1, the more unequal are the values in the distribution. Default: 'true'.
ModelIdColumn
Specify the name of the InputTable column that contains the model or partition identifiers for the ROC curves. Use this syntax element only when InputTable contains information for more than one model. The function creates a separate ROC curve for each model identifier in this column. Each model must include exactly two classes in ObservationColumn.
NumThresholds
Specify the number of thresholds for the function to use. The num_thresholds must be a NUMERIC value in the range [1, 10000]. Default: 50 (The function uniformly distributes the thresholds between 0 and 1.)
ObservationColumn
Specify the name of the InputTable column that contains the actual classes of the observations.
PositiveLabel
Specify the label of the positive class.
ProbabilityColumn
Specify the name of the InputTable column that contains the predicted probabilities of the positive class.
Output Schema
Output Schema, if Volatile is true then use user login as the schema.
Output Table
Output Table
VAL Location
VAL Location
Volatile
Specifies whether the table should be a VOLATILE table. If true, then the table is automatically deleted, otherwise it is users responsibility to remove or clean it up for space.

Input Ports

Icon
Connection to a Teradata Database Instance
Icon
Specifies the name of the table that contains the prediction-actual pairs for a binary classifier.

Output Ports

Icon
output of TD_ROC

Nodes

Extensions

Links