Dun3Co commited on
Commit
2b2b073
·
verified ·
1 Parent(s): 259fc98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -182,6 +182,7 @@ def metrics(batch: Optional[BatchInputData] = None, limit: int = 100):
182
 
183
  # Convert boolean target to integer
184
  y_true = X["y"].astype(int).tolist()
 
185
  X = X.drop(columns=["y"])
186
 
187
  # Drop ID if exists
 
182
 
183
  # Convert boolean target to integer
184
  y_true = X["y"].astype(int).tolist()
185
+ print(f"[DEBUG] Found {sum(y_true)} positive cases out of {len(y_true)}")
186
  X = X.drop(columns=["y"])
187
 
188
  # Drop ID if exists