Skip to content

Commit

Permalink
Merge pull request #14 in VISI/thelper from raw-pred-output to master
Browse files Browse the repository at this point in the history
* commit '89bd8ff9d137bb5a189435e227b13d04c09d8ad7':
  return raw predictions because why not
  • Loading branch information
plstcharles committed Jun 15, 2019
2 parents a06d4ff + 89bd8ff commit eae8152
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions thelper/optim/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1691,8 +1691,11 @@ def reset(self):
self.__init__(callback=self.callback)

def eval(self):
"""Returns ``None``, as this class only preserves raw prediction results."""
return None
"""
Returns the raw predictions as received and accumulated through batch iterations.
Indices of predictions match the order in which samples where received during ``accumulate`` calls.
"""
return self.predictions

def goal(self):
"""Returns ``None``, as this class should not be used to directly monitor the training progress."""
Expand Down

0 comments on commit eae8152

Please sign in to comment.