Cumulative gain curve

The cumulative gain curve is a performance evaluation used typically for binary classification problems. It plots the \( TPR \) True Positive Rate or Sensitivity (which represents the fraction of examples correctly classified against Predictive Positive Rate, which represents the fraction of positively predicted examples.

The examples below show the confusion matrix, the ROC curve and the cumulative gain for the Wisconsin cancer data.