Spaces:
Runtime error
Runtime error
Commit
•
c3defac
1
Parent(s):
b0fd391
Update app.py
Browse files
app.py
CHANGED
@@ -34,10 +34,7 @@ def greet(name):
|
|
34 |
# X = X.drop(columns=["date"]).fillna(0)
|
35 |
|
36 |
|
37 |
-
model = mr.get_model(
|
38 |
-
model_name="gradient_boost_model",
|
39 |
-
evaluation_metric="f1_score",
|
40 |
-
sort_metrics_by="max")
|
41 |
|
42 |
# preds = model.predict(X)
|
43 |
|
|
|
34 |
# X = X.drop(columns=["date"]).fillna(0)
|
35 |
|
36 |
|
37 |
+
model = mr.get_model("gradient_boost_model",version = 1)
|
|
|
|
|
|
|
38 |
|
39 |
# preds = model.predict(X)
|
40 |
|