Skip to content

Commit

Permalink
Including all recall points.
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelpadilla committed Jan 31, 2019
1 parent aeb7217 commit 6c7c54d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Evaluator.py
Expand Up @@ -329,7 +329,7 @@ def ElevenPointInterpolatedAP(rec, prec):
# For each recallValues (0, 0.1, 0.2, ... , 1)
for r in recallValues:
# Obtain all recall values higher or equal than r
argGreaterRecalls = np.argwhere(mrec[:-1] >= r)
argGreaterRecalls = np.argwhere(mrec[:] >= r)
pmax = 0
# If there are recalls above r
if argGreaterRecalls.size != 0:
Expand Down

0 comments on commit 6c7c54d

Please sign in to comment.