Spaces:
Sleeping
Sleeping
Commit
·
9b7ebe5
1
Parent(s):
9b79169
Update app.py
Browse files
app.py
CHANGED
@@ -23,5 +23,5 @@ model = pickle.load(open('fitted_model.sav', 'rb'))
|
|
23 |
|
24 |
predictions = list(model.predict(data))
|
25 |
|
26 |
-
output = pd.Series(data=predictions, index=
|
27 |
-
df_total = pd.concat([
|
|
|
23 |
|
24 |
predictions = list(model.predict(data))
|
25 |
|
26 |
+
output = pd.Series(data=predictions, index=data.index, name="XGB_Score")
|
27 |
+
df_total = pd.concat([data, output], axis=1)
|