bob.measure.precision_recall_curve

bob.measure.precision_recall_curve((object)negatives, (object)positives, (int)n_points) → numpy.ndarray :

Calculates the precision-recall curve given a set of positive and negative scores and a number of desired points. Returns a two-dimensional blitz::Array of doubles that express the X (precision) and Y (recall) coordinates in this order. The points in which the curve is calculated are distributed uniformly in the range [min(negatives, positives), max(negatives, positives)].