Spaces:
Sleeping
Sleeping
maksymdolgikh
commited on
Commit
•
c3bef9c
1
Parent(s):
977ba1e
minor "overall" output changes
Browse files- seqeval_with_fbeta.py +2 -2
seqeval_with_fbeta.py
CHANGED
@@ -175,8 +175,8 @@ class Seqeval_With_Beta(evaluate.Metric):
|
|
175 |
scores["overall"] = {
|
176 |
"precision": overall_score["precision"],
|
177 |
"recall": overall_score["recall"],
|
178 |
-
"f1
|
179 |
-
f"f{beta}
|
180 |
"accuracy": accuracy_score(y_true=references, y_pred=predictions)
|
181 |
}
|
182 |
|
|
|
175 |
scores["overall"] = {
|
176 |
"precision": overall_score["precision"],
|
177 |
"recall": overall_score["recall"],
|
178 |
+
"f1": overall_score["f1-score"],
|
179 |
+
f"f{beta}": overall_score[f"f{beta}-score"],
|
180 |
"accuracy": accuracy_score(y_true=references, y_pred=predictions)
|
181 |
}
|
182 |
|