Please see http://www.cs.bris.ac.uk/~flach/PRGcurves/.
This software is available in the following forms:
An example in Python is available here: Jupyter notebook
This software has been written by Meelis Kull, Telmo de Menezes e Silva Filho and Miquel Perello Nieto, based on work by Peter Flach and Meelis Kull, see http://www.cs.bris.ac.uk/~flach/PRGcurves/.