error_parity.roc_utils

Helper functions to solve the relaxed equal odds problem.

Functions

calc_cost_of_point(fpr, fnr, prevalence[, ...])

Calculates the cost of the given ROC point.

compute_global_roc_from_groupwise(...)

Computes the global ROC point that corresponds to the provided group-wise ROC points.

compute_roc_point_from_predictions(y_true, ...)

Computes the ROC point associated with the provided binary predictions.

roc_convex_hull(roc_points)

Computes the convex hull of the provided ROC points.