deepretro.utils.metrics

Utility helpers for model evaluation, in particular threshold optimisation for binary classification using the F1-score on the precision–recall curve.