Spaces:
Sleeping
Sleeping
jing commited on
Commit ·
786df1f
1
Parent(s): 5d3c5f7
add columns for precision and recall
Browse files
README.md
CHANGED
|
@@ -8,3 +8,7 @@ pinned: false
|
|
| 8 |
---
|
| 9 |
|
| 10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
|
app.py
CHANGED
|
@@ -8,6 +8,7 @@ from huggingface_hub import HfApi, HfFolder, hf_hub_download
|
|
| 8 |
from sklearn.metrics import f1_score
|
| 9 |
from collections import defaultdict
|
| 10 |
import numpy as np
|
|
|
|
| 11 |
|
| 12 |
app = FastAPI()
|
| 13 |
|
|
|
|
| 8 |
from sklearn.metrics import f1_score
|
| 9 |
from collections import defaultdict
|
| 10 |
import numpy as np
|
| 11 |
+
from sklearn.metrics import f1_score, precision_score, recall_score
|
| 12 |
|
| 13 |
app = FastAPI()
|
| 14 |
|