Spaces:
Sleeping
Sleeping
add docstring
Browse files- matching_series.py +1 -0
matching_series.py
CHANGED
@@ -200,6 +200,7 @@ class matching_series(evaluate.Metric):
|
|
200 |
pass
|
201 |
|
202 |
def compute(self, *, predictions=None, references=None, **kwargs) -> Optional[dict]:
|
|
|
203 |
all_kwargs = {"predictions": predictions, "references": references, **kwargs}
|
204 |
if predictions is None and references is None:
|
205 |
missing_kwargs = {k: None for k in self._feature_names() if k not in all_kwargs}
|
|
|
200 |
pass
|
201 |
|
202 |
def compute(self, *, predictions=None, references=None, **kwargs) -> Optional[dict]:
|
203 |
+
""""""
|
204 |
all_kwargs = {"predictions": predictions, "references": references, **kwargs}
|
205 |
if predictions is None and references is None:
|
206 |
missing_kwargs = {k: None for k in self._feature_names() if k not in all_kwargs}
|