Skip to content

Commit

Permalink
add breaks in loss value function
Browse files Browse the repository at this point in the history
  • Loading branch information
jteijema committed Oct 24, 2024
1 parent 0454e5d commit dda0bcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion asreviewcontrib/insights/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ def _auc_trapezoidal(x, y):
Nx = len(labels)

best_auc = Nx * Ny - 0.5 - ((Ny * Ny) / 2)
actual_auc = _auc_trapezoidal(*_recall_values(labels, x_absolute=True,
actual_auc = _auc_trapezoidal(*_recall_values(labels,
x_absolute=True,
y_absolute=True))
worst_auc = ((Ny * Ny) / 2)

Expand Down

0 comments on commit dda0bcf

Please sign in to comment.