Spaces:
Running
Running
Update Space (evaluate main: e4a27243)
Browse files- mcnemar.py +2 -1
- requirements.txt +1 -1
mcnemar.py
CHANGED
@@ -62,12 +62,13 @@ _CITATION = """
|
|
62 |
|
63 |
@evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
|
64 |
class McNemar(evaluate.Comparison):
|
65 |
-
def _info(self):
|
66 |
return evaluate.ComparisonInfo(
|
67 |
module_type="comparison",
|
68 |
description=_DESCRIPTION,
|
69 |
citation=_CITATION,
|
70 |
inputs_description=_KWARGS_DESCRIPTION,
|
|
|
71 |
features=datasets.Features(
|
72 |
{
|
73 |
"predictions1": datasets.Value("int64"),
|
|
|
62 |
|
63 |
@evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
|
64 |
class McNemar(evaluate.Comparison):
|
65 |
+
def _info(self, config):
|
66 |
return evaluate.ComparisonInfo(
|
67 |
module_type="comparison",
|
68 |
description=_DESCRIPTION,
|
69 |
citation=_CITATION,
|
70 |
inputs_description=_KWARGS_DESCRIPTION,
|
71 |
+
config=config,
|
72 |
features=datasets.Features(
|
73 |
{
|
74 |
"predictions1": datasets.Value("int64"),
|
requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
git+https://github.com/huggingface/evaluate@
|
2 |
scipy
|
|
|
1 |
+
git+https://github.com/huggingface/evaluate@e4a2724377909fe2aeb4357e3971e5a569673b39
|
2 |
scipy
|