Update app.py
Browse files
app.py
CHANGED
|
@@ -2468,7 +2468,7 @@ with tab_predict:
|
|
| 2468 |
fpr, tpr, roc_thresholds = roc_curve(y_ext01, proba)
|
| 2469 |
|
| 2470 |
# Threshold metrics (user-controlled)
|
| 2471 |
-
|
| 2472 |
cls_ext = compute_classification_metrics(y_ext01, proba, threshold=float(thr_ext))
|
| 2473 |
|
| 2474 |
pr_ext = compute_pr_curve(y_ext01, proba)
|
|
|
|
| 2468 |
fpr, tpr, roc_thresholds = roc_curve(y_ext01, proba)
|
| 2469 |
|
| 2470 |
# Threshold metrics (user-controlled)
|
| 2471 |
+
|
| 2472 |
cls_ext = compute_classification_metrics(y_ext01, proba, threshold=float(thr_ext))
|
| 2473 |
|
| 2474 |
pr_ext = compute_pr_curve(y_ext01, proba)
|