Skip to content

Commit

Permalink
update metrics loss docstring
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan de Bruin <[email protected]>
  • Loading branch information
jteijema and J535D165 authored Oct 31, 2024
1 parent ebdfd83 commit b042b5b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions asreviewcontrib/insights/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,7 @@ def _tnr(labels, intercept, x_absolute=False):
return _slice_metric(x, y, intercept)

def loss(state_obj, priors=False):
"""
Computes a loss value that represents how far the recall curve is from
perfect recall.
"""Compute the loss value.
The function calculates a value based on the area over the recall curve and
under the perfect recall (i.e., an impossible area for recall values).
Expand Down

0 comments on commit b042b5b

Please sign in to comment.