Compute, save and display lift curve.

Parameters:
The ComputeLift action is designed to generate a Lift Curve from prediction data to evaluate the performance of a binary classifier. It visualizes the model’s effectiveness at identifying positive class instances compared to random selection, and computes important evaluation metrics like AUC and AUCtop.
The Lift chart is a crucial tool for interpreting model outputs in marketing, credit scoring, fraud detection, and other applications where ranking predictions and evaluating top segments is essential.
The action sorts rows by prediction scores in descending order and plots:
Prepare a table with at least these 2 columns:
| Target | Predictions | Weight |
|---|---|---|
| 1 | 0.95 | 1.2 |
| 0 | 0.45 | 1.0 |
| 1 | 0.85 | 0.9 |
| 0 | 0.35 | 1.3 |
| 1 | 0.70 | 1.1 |
Target: Binary class labels (0 or 1)Predictions: Probabilistic model outputs (float between 0 and 1)Weight (optional): Custom importance for each rowTarget)Predictions)My Lift)0.2 and 0.45)recorded data → records/.png will be generated and appear in the Records tab.
nLine = Total rowsnTarget = Count of positive classAUC = Area under full curveAUCtop = Local performance between w1–w2



.png) and can be used in reports or presentations.| Error Message | Possible Cause | Solution |
|---|---|---|
| “Missing predictions or target column” | Misconfigured input | Ensure both columns are selected |
| “Empty graph / AUC=0” | Poor model or bad label alignment | Check data and prediction column |
| “No graph in Records tab” | Output path not selected | Choose valid output destination |
| “AUCOtop is negative or low” | Model scores not discriminative in top % | Investigate model behavior or redefine w1/w2 |
