hlnicholls commited on
Commit
5c158f1
1 Parent(s): d26d0bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"], axis=1)
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(columns=["BPlabel_encoded","BPlabel"])
21
  xgb = xgboost.XGBRegressor(
22
  n_estimators=40,
23
  learning_rate=0.2,