danieldux commited on
Commit
17b677f
1 Parent(s): b2b2b43

Update variable names in ISCO_Hierarchical_Accuracy metric class

Browse files
Files changed (1) hide show
  1. metric_template_1.py +4 -4
metric_template_1.py CHANGED
@@ -94,13 +94,13 @@ class ISCO_Hierarchical_Accuracy(evaluate.Metric):
94
  # ),
95
  features=datasets.Features(
96
  {
97
- "reference": datasets.Sequence(datasets.Value("string")),
98
- "prediction": datasets.Sequence(datasets.Value("string")),
99
  }
100
  if self.config_name == "multilabel"
101
  else {
102
- "reference": datasets.Value("string"),
103
- "prediction": datasets.Value("string"),
104
  }
105
  ),
106
  # TODO: Homepage of the module for documentation
 
94
  # ),
95
  features=datasets.Features(
96
  {
97
+ "references": datasets.Sequence(datasets.Value("string")),
98
+ "predictions": datasets.Sequence(datasets.Value("string")),
99
  }
100
  if self.config_name == "multilabel"
101
  else {
102
+ "references": datasets.Value("string"),
103
+ "predictions": datasets.Value("string"),
104
  }
105
  ),
106
  # TODO: Homepage of the module for documentation