Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -260,9 +260,9 @@ elif app_mode == "ML Flow & Feature Importance":
|
|
| 260 |
except mlflow.exceptions.MlflowException:
|
| 261 |
return
|
| 262 |
|
| 263 |
-
train_model("Best_Model", "dt", X_train, X_test, y_train, y_test)
|
| 264 |
-
train_model("Best_Model", "lg", X_train, X_test, y_train, y_test)
|
| 265 |
-
train_model("Best_Model", "knn", X_train, X_test, y_train, y_test)
|
| 266 |
tab1.image("ml_data.png", use_column_width=True)
|
| 267 |
|
| 268 |
tab2.subheader("Feature Importance")
|
|
|
|
| 260 |
except mlflow.exceptions.MlflowException:
|
| 261 |
return
|
| 262 |
|
| 263 |
+
# train_model("Best_Model", "dt", X_train, X_test, y_train, y_test)
|
| 264 |
+
# train_model("Best_Model", "lg", X_train, X_test, y_train, y_test)
|
| 265 |
+
# train_model("Best_Model", "knn", X_train, X_test, y_train, y_test)
|
| 266 |
tab1.image("ml_data.png", use_column_width=True)
|
| 267 |
|
| 268 |
tab2.subheader("Feature Importance")
|