Spaces:
Runtime error
Runtime error
Isabel Gwara
commited on
Commit
·
703d628
1
Parent(s):
7415061
Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ def train_model():
|
|
87 |
y = data.iloc[: , num_features:]
|
88 |
|
89 |
# split data into training and testing sets
|
90 |
-
x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.25)
|
91 |
|
92 |
# instantiate the model (using default parameters)
|
93 |
model = LogisticRegression()
|
|
|
87 |
y = data.iloc[: , num_features:]
|
88 |
|
89 |
# split data into training and testing sets
|
90 |
+
global x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.25)
|
91 |
|
92 |
# instantiate the model (using default parameters)
|
93 |
model = LogisticRegression()
|