Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ f1_metric = prom.Gauge('death_f1_score', 'F1 score for test samples')
|
|
25 |
|
26 |
# Function for updating metrics
|
27 |
def update_metrics():
|
28 |
-
test = test_data.sample(
|
29 |
X = test.iloc[:, :-1].values
|
30 |
y = test['DEATH_EVENT'].values
|
31 |
|
|
|
25 |
|
26 |
# Function for updating metrics
|
27 |
def update_metrics():
|
28 |
+
test = test_data.sample(20)
|
29 |
X = test.iloc[:, :-1].values
|
30 |
y = test['DEATH_EVENT'].values
|
31 |
|