area_under_curve_and_failure_rate¶
-
menpofit.error.
area_under_curve_and_failure_rate
(errors, step_error, max_error, min_error=0.0)[source]¶ Computes the Area Under the Curve (AUC) and Failure Rate (FR) of a given Cumulative Distribution Error (CED).
- Parameters
errors (list of float) – The list of errors per image.
step_error (float) – The sampling step of the error bins of the CED.
max_error (float) – The maximum error value of the CED.
min_error (float) – The minimum error value of the CED.
- Returns
auc (float) – The Area Under the Curve value.
fr (float) – The Failure Rate value.