Spaces:
Running
Running
Update Space (evaluate main: 5aa3982a)
Browse files- recall.py +1 -1
- requirements.txt +1 -1
recall.py
CHANGED
@@ -132,4 +132,4 @@ class Recall(evaluate.Metric):
|
|
132 |
sample_weight=sample_weight,
|
133 |
zero_division=zero_division,
|
134 |
)
|
135 |
-
return {"recall":
|
|
|
132 |
sample_weight=sample_weight,
|
133 |
zero_division=zero_division,
|
134 |
)
|
135 |
+
return {"recall": score if getattr(score, "size", 1) > 1 else float(score)}
|
requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
git+https://github.com/huggingface/evaluate@
|
2 |
scikit-learn
|
|
|
1 |
+
git+https://github.com/huggingface/evaluate@5aa3982a9a8c86e506860e381d428a64b0cce73b
|
2 |
scikit-learn
|