Skip to content

Commit

Permalink
Fix for PrecisionRecall.__call__ unexpected calcrange kwarg (from Bax…
Browse files Browse the repository at this point in the history
…terEaves PR#268)
  • Loading branch information
Jennifer Myers committed Jul 13, 2016
1 parent 05b7ad8 commit 897b67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neon/transforms/cost.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def __init__(self, num_classes, binarize=False, epsilon=1e-6):
self.bin_buf = None
self.eps = epsilon

def __call__(self, y, t):
def __call__(self, y, t, calcrange=slice(0, None)):
"""
Returns a numpy array with the precision and recall metrics.
Expand Down

0 comments on commit 897b67b

Please sign in to comment.