error_parity.binarize

Module to binarize continuous-score predictions.

Based on: https://github.com/AndreFCruz/hpt/blob/main/src/hpt/binarize.py

Functions

compute_binary_predictions(y_true, y_pred_scores)

Discretizes the given score predictions into binary labels.