pysteps.verification.probscores.ROC_curve_compute

pysteps.verification.probscores.ROC_curve_compute#

pysteps.verification.probscores.ROC_curve_compute(ROC, compute_area=False)#

Compute the ROC curve and its area from the given ROC object.

Parameters:
  • ROC (dict) – A ROC curve object created with ROC_curve_init.

  • compute_area (bool) – If True, compute the area under the ROC curve (between 0.5 and 1).

Returns:

out – A two-element tuple containing the probability of detection (POD) and probability of false detection (POFD) for the probability thresholds specified in the ROC curve object. If compute_area is True, return the area under the ROC curve as the third element of the tuple.

Return type:

tuple