Spaces:
Sleeping
Sleeping
hlnicholls
commited on
Commit
•
d26d0bf
1
Parent(s):
505315b
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ training_data["BPlabel_encoded"] = training_data["BPlabel"].map(
|
|
17 |
{"most likely": 1, "probable": 0.75, "least likely": 0.1}
|
18 |
)
|
19 |
Y = training_data["BPlabel_encoded"]
|
20 |
-
X = training_data.drop(["BPlabel_encoded","BPlabel"])
|
21 |
xgb = xgboost.XGBRegressor(
|
22 |
n_estimators=40,
|
23 |
learning_rate=0.2,
|
|
|
17 |
{"most likely": 1, "probable": 0.75, "least likely": 0.1}
|
18 |
)
|
19 |
Y = training_data["BPlabel_encoded"]
|
20 |
+
X = training_data.drop(["BPlabel_encoded","BPlabel"], axis=1)
|
21 |
xgb = xgboost.XGBRegressor(
|
22 |
n_estimators=40,
|
23 |
learning_rate=0.2,
|