Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,10 +36,10 @@ if not st.session_state.models:
|
|
| 36 |
|
| 37 |
# models
|
| 38 |
models = {
|
| 39 |
-
|
| 40 |
"Logistic Regression": LogisticRegression(max_iter=1000),
|
| 41 |
-
|
| 42 |
-
|
| 43 |
}
|
| 44 |
|
| 45 |
for name, model in models.items():
|
|
|
|
| 36 |
|
| 37 |
# models
|
| 38 |
models = {
|
| 39 |
+
"SVM": SVC(kernel='linear'),
|
| 40 |
"Logistic Regression": LogisticRegression(max_iter=1000),
|
| 41 |
+
"Random Forest": RandomForestClassifier(n_estimators=10),
|
| 42 |
+
"Gradient Boosting": GradientBoostingClassifier()
|
| 43 |
}
|
| 44 |
|
| 45 |
for name, model in models.items():
|