add f1 to evaluator
Browse files- ner_eval.py +1 -0
ner_eval.py
CHANGED
|
@@ -275,6 +275,7 @@ class Evaluator:
|
|
| 275 |
"actual": 0,
|
| 276 |
"precision": 0,
|
| 277 |
"recall": 0,
|
|
|
|
| 278 |
}
|
| 279 |
|
| 280 |
# Copy results dict to cover the four schemes.
|
|
|
|
| 275 |
"actual": 0,
|
| 276 |
"precision": 0,
|
| 277 |
"recall": 0,
|
| 278 |
+
"f1": 0,
|
| 279 |
}
|
| 280 |
|
| 281 |
# Copy results dict to cover the four schemes.
|