Create a ROC curve after applying a model.

Parameters:

Parameters:
See dedicated page for more information.
The R_ROC action button generates a Receiver Operating Characteristic (ROC) Curve based on predicted probabilities and binary classification targets. This tool evaluates model performance by plotting the True Positive Rate (TPR) against the False Positive Rate (FPR) for different probability thresholds. The Area Under the Curve (AUC) metric quantifies the model's classification ability.
Format: .csv table
Required Columns:
Target: Binary values (0 or 1), representing the true classProba: Predicted probability values from the model (between 0 and 1)Minimum data requirement: At least 100 rows for stable and meaningful ROC curve generation. While it technically works with fewer rows, results may be misleading (e.g., AUC = 1 with diagonal curve).
Example Input Table:
| Target | Proba |
|---|---|
| 1 | 0.95 |
| 0 | 0.10 |
| 1 | 0.88 |
| ... | ... |
Image file: ROC curve (ROC_Proba.png)
Content:
Example ROC Output:

Select PROBABILITY Variable(s)Select TARGET variable contains both 0 and 1 classesProba columnSelect PROBABILITY Variable(s) to fewer than 1200 unique values. Round to 2–4 decimals if needed.Select TARGET variable and Proba columns..png file from the log or records tab.
