Spaces:
Sleeping
Sleeping
Update model_predictor.py
Browse files- model_predictor.py +1 -1
model_predictor.py
CHANGED
|
@@ -408,7 +408,7 @@ if __name__ == "__main__":
|
|
| 408 |
print(test_data)
|
| 409 |
|
| 410 |
# 進行預測
|
| 411 |
-
predictions = model.predict('
|
| 412 |
|
| 413 |
if predictions:
|
| 414 |
print("\n預測成功!")
|
|
|
|
| 408 |
print(test_data)
|
| 409 |
|
| 410 |
# 進行預測
|
| 411 |
+
predictions = model.predict('xgboost_model', test_data)
|
| 412 |
|
| 413 |
if predictions:
|
| 414 |
print("\n預測成功!")
|