|
@@ -172,7 +172,7 @@ class LightGBM(object):
|
|
|
:return:
|
|
|
"""
|
|
|
fw = open("result/summary_{}.txt".format(dt), "a+", encoding="utf-8")
|
|
|
- path = 'data/predict_data/predict_{}.json'.format(dt)
|
|
|
+ path = 'data/predict_data/user_predict_{}.json'.format(dt)
|
|
|
x, y = self.read_data(path, yc=23)
|
|
|
bst = lgb.Booster(model_file=self.model)
|
|
|
y_pred = bst.predict(x, num_iteration=bst.best_iteration)
|