A demonstration of lift and ranking in classification using a pulsar classification dataset. For a more in-depth discussion of the dataset and the topics of ranking and lift, see my medium post.
The dataset was originally obtained from this Kaggle page. There are actually several pages with the same dataset, but as I detail in the notebook it seems to have initially originated with Lyon et al. (2016).
The notebook relies on fairly standard libraries as well as the mplcyberpunk and dmba Python libraries (though only for the purposes of plotting and nicely displaying results).