This function calculates the area under the Precision-Recall-Gain curve from the results of the function create_prg_curve. More information on Precision-Recall-Gain curves and how to cite this work is available at http://www.cs.bris.ac.uk/~flach/PRGcurves/.
the data structure resulting from the function create_prg_curve
This function calculates the area under the Precision-Recall-Gain curve, taking into account only the part of the curve with non-negative recall gain. The regions with negative precision gain (PRG-curve under the x-axis) contribute as negative area.
A numeric value representing the area under the Precision-Recall-Gain curve.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.