lvwerra HF staff commited on
Commit
2b17d1f
·
1 Parent(s): 61d8651

Update Space (evaluate main: a45df1eb)

Browse files
Files changed (1) hide show
  1. spearmanr.py +2 -2
spearmanr.py CHANGED
@@ -97,9 +97,9 @@ _CITATION = r"""\
97
 
98
 
99
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
100
- class Spearmanr(evaluate.EvaluationModule):
101
  def _info(self):
102
- return evaluate.EvaluationModuleInfo(
103
  description=_DESCRIPTION,
104
  citation=_CITATION,
105
  inputs_description=_KWARGS_DESCRIPTION,
 
97
 
98
 
99
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
100
+ class Spearmanr(evaluate.Metric):
101
  def _info(self):
102
+ return evaluate.MetricInfo(
103
  description=_DESCRIPTION,
104
  citation=_CITATION,
105
  inputs_description=_KWARGS_DESCRIPTION,