lvwerra HF staff commited on
Commit
03cb67b
·
1 Parent(s): d64af6b

Update Space (evaluate main: e4a27243)

Browse files
Files changed (1) hide show
  1. wilcoxon.py +2 -1
wilcoxon.py CHANGED
@@ -55,12 +55,13 @@ _CITATION = """
55
 
56
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
57
  class Wilcoxon(evaluate.Comparison):
58
- def _info(self):
59
  return evaluate.ComparisonInfo(
60
  module_type="comparison",
61
  description=_DESCRIPTION,
62
  citation=_CITATION,
63
  inputs_description=_KWARGS_DESCRIPTION,
 
64
  features=datasets.Features(
65
  {
66
  "predictions1": datasets.Value("float"),
 
55
 
56
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
57
  class Wilcoxon(evaluate.Comparison):
58
+ def _info(self, config):
59
  return evaluate.ComparisonInfo(
60
  module_type="comparison",
61
  description=_DESCRIPTION,
62
  citation=_CITATION,
63
  inputs_description=_KWARGS_DESCRIPTION,
64
+ config=config,
65
  features=datasets.Features(
66
  {
67
  "predictions1": datasets.Value("float"),