Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ y_all = train['Survived']
|
|
46 |
num_test = 0.20
|
47 |
X_train, X_test, y_train, y_test = train_test_split(X_all, y_all, test_size=num_test, random_state=23)
|
48 |
|
49 |
-
clf = RandomForestClassifier()
|
50 |
MLP = MLPClassifier()
|
51 |
MLP.fit(X_train, y_train)
|
52 |
predictions = MLP.predict(X_test)
|
|
|
46 |
num_test = 0.20
|
47 |
X_train, X_test, y_train, y_test = train_test_split(X_all, y_all, test_size=num_test, random_state=23)
|
48 |
|
49 |
+
#clf = RandomForestClassifier()
|
50 |
MLP = MLPClassifier()
|
51 |
MLP.fit(X_train, y_train)
|
52 |
predictions = MLP.predict(X_test)
|