Spaces:
Runtime error
Runtime error
Commit
·
e16ab65
1
Parent(s):
bfeb49a
Upload app.py
Browse files
app.py
CHANGED
@@ -50,20 +50,20 @@ g2_f4_names = [f4.replace('_', ' ') for f4 in g2_f4_names]
|
|
50 |
|
51 |
|
52 |
#Prepare data for the outcome 1 (g2).
|
53 |
-
g2_y1 =
|
54 |
-
g2_y1_valid =
|
55 |
|
56 |
#Prepare data for the outcome 2 (g2).
|
57 |
-
g2_y2 =
|
58 |
-
g2_y2_valid =
|
59 |
|
60 |
#Prepare data for the outcome 3 (g2).
|
61 |
-
g2_y3 =
|
62 |
-
g2_y3_valid =
|
63 |
|
64 |
#Prepare data for the outcome 4 (g2).
|
65 |
-
g2_y4 =
|
66 |
-
g2_y4_valid =
|
67 |
|
68 |
|
69 |
#Assign hyperparameters (g2).
|
@@ -219,20 +219,20 @@ g3_f4_names = [f4.replace('_', ' ') for f4 in g3_f4_names]
|
|
219 |
|
220 |
|
221 |
#Prepare data for the outcome 1 (g3).
|
222 |
-
g3_y1 =
|
223 |
-
g3_y1_valid =
|
224 |
|
225 |
#Prepare data for the outcome 2 (g3).
|
226 |
-
g3_y2 =
|
227 |
-
g3_y2_valid =
|
228 |
|
229 |
#Prepare data for the outcome 3 (g3).
|
230 |
-
g3_y3 =
|
231 |
-
g3_y3_valid =
|
232 |
|
233 |
#Prepare data for the outcome 4 (g3).
|
234 |
-
g3_y4 =
|
235 |
-
g3_y4_valid =
|
236 |
|
237 |
|
238 |
#Assign hyperparameters (g3).
|
|
|
50 |
|
51 |
|
52 |
#Prepare data for the outcome 1 (g2).
|
53 |
+
g2_y1 = g2_x1.pop('OUTCOME')
|
54 |
+
g2_y1_valid = g2_x1_valid.pop('OUTCOME')
|
55 |
|
56 |
#Prepare data for the outcome 2 (g2).
|
57 |
+
g2_y2 = g2_x2.pop('OUTCOME')
|
58 |
+
g2_y2_valid = g2_x2_valid.pop('OUTCOME')
|
59 |
|
60 |
#Prepare data for the outcome 3 (g2).
|
61 |
+
g2_y3 = g2_x3.pop('OUTCOME')
|
62 |
+
g2_y3_valid = g2_x3_valid.pop('OUTCOME')
|
63 |
|
64 |
#Prepare data for the outcome 4 (g2).
|
65 |
+
g2_y4 = g2_x4.pop('OUTCOME')
|
66 |
+
g2_y4_valid = g2_x4_valid.pop('OUTCOME')
|
67 |
|
68 |
|
69 |
#Assign hyperparameters (g2).
|
|
|
219 |
|
220 |
|
221 |
#Prepare data for the outcome 1 (g3).
|
222 |
+
g3_y1 = g3_x1.pop('OUTCOME')
|
223 |
+
g3_y1_valid = g3_x1_valid.pop('OUTCOME')
|
224 |
|
225 |
#Prepare data for the outcome 2 (g3).
|
226 |
+
g3_y2 = g3_x2.pop('OUTCOME')
|
227 |
+
g3_y2_valid = g3_x2_valid.pop('OUTCOME')
|
228 |
|
229 |
#Prepare data for the outcome 3 (g3).
|
230 |
+
g3_y3 = g3_x3.pop('OUTCOME')
|
231 |
+
g3_y3_valid = g3_x3_valid.pop('OUTCOME')
|
232 |
|
233 |
#Prepare data for the outcome 4 (g3).
|
234 |
+
g3_y4 = g3_x4.pop('OUTCOME')
|
235 |
+
g3_y4_valid = g3_x4_valid.pop('OUTCOME')
|
236 |
|
237 |
|
238 |
#Assign hyperparameters (g3).
|