Update app.py
Browse files
app.py
CHANGED
|
@@ -63,8 +63,6 @@ X_train, X_test, y_train, y_test = train_test_split(x, y, test_size=0.5, random_
|
|
| 63 |
clf = RandomForestClassifier(criterion = 'entropy', n_estimators = 4)
|
| 64 |
clf.fit(X_train,y_train)
|
| 65 |
score = clf.score(X_test,y_test)
|
| 66 |
-
print(score)
|
| 67 |
-
|
| 68 |
def start(Age,Sex,BP,Cholesterol,Na_to_K):
|
| 69 |
if (Sex =='male'):
|
| 70 |
sex = "1"
|
|
|
|
| 63 |
clf = RandomForestClassifier(criterion = 'entropy', n_estimators = 4)
|
| 64 |
clf.fit(X_train,y_train)
|
| 65 |
score = clf.score(X_test,y_test)
|
|
|
|
|
|
|
| 66 |
def start(Age,Sex,BP,Cholesterol,Na_to_K):
|
| 67 |
if (Sex =='male'):
|
| 68 |
sex = "1"
|