Synav commited on
Commit
feb863d
·
verified ·
1 Parent(s): 956abc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- thr_ext = st.slider("External validation threshold", 0.0, 1.0, 0.5, 0.01, key="thr_ext")
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)