Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|