xshubhamx commited on
Commit
1bd84ff
β€’
1 Parent(s): 56e5010

Update multiclass_precision_macro.py

Browse files
Files changed (1) hide show
  1. multiclass_precision_macro.py +1 -1
multiclass_precision_macro.py CHANGED
@@ -91,5 +91,5 @@ class multiclass_precision_macro(evaluate.Metric):
91
  # TODO: Compute the different scores of the module
92
  from sklearn.metrics import precision_score
93
  return {
94
- "precision_macro": precision_score(references, predictions, average="macro"),
95
  }
 
91
  # TODO: Compute the different scores of the module
92
  from sklearn.metrics import precision_score
93
  return {
94
+ "macro_precision": precision_score(references, predictions, average="macro"),
95
  }