Victoria Oberascher commited on
Commit
3e329ea
·
1 Parent(s): 18b1c22

Refactor add method to add_batch in horizonmetrics.py

Browse files
Files changed (1) hide show
  1. horizonmetrics.py +1 -1
horizonmetrics.py CHANGED
@@ -95,7 +95,7 @@ class horizonmetrics(evaluate.Metric):
95
  codebase_urls=["http://github.com/path/to/codebase/of/new_module"],
96
  reference_urls=["http://path.to.reference.url/new_module"])
97
 
98
- def add(self, *, predictions, references, **kwargs):
99
  """
100
  Update the predictions and ground truth detections.
101
 
 
95
  codebase_urls=["http://github.com/path/to/codebase/of/new_module"],
96
  reference_urls=["http://path.to.reference.url/new_module"])
97
 
98
+ def add_batch(self, *, predictions, references, **kwargs):
99
  """
100
  Update the predictions and ground truth detections.
101