Spaces:
Sleeping
Sleeping
test
Browse files
app.py
CHANGED
|
@@ -45,7 +45,9 @@ def process_file(file,label, model_name):
|
|
| 45 |
# Create a plot
|
| 46 |
with open("roc_data.pkl", "rb") as f:
|
| 47 |
fpr, tpr, _ = pickle.load(f)
|
| 48 |
-
|
|
|
|
|
|
|
| 49 |
roc_auc = auc(fpr, tpr)
|
| 50 |
fig, ax = plt.subplots()
|
| 51 |
ax.plot(fpr, tpr, color='blue', lw=2, label=f'ROC curve (area = {roc_auc:.2f})')
|
|
|
|
| 45 |
# Create a plot
|
| 46 |
with open("roc_data.pkl", "rb") as f:
|
| 47 |
fpr, tpr, _ = pickle.load(f)
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
|
| 51 |
roc_auc = auc(fpr, tpr)
|
| 52 |
fig, ax = plt.subplots()
|
| 53 |
ax.plot(fpr, tpr, color='blue', lw=2, label=f'ROC curve (area = {roc_auc:.2f})')
|