Browse Source

处理爬虫模型

罗俊辉 1 year ago
parent
commit
51a30ec454
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main_spider.py

+ 1 - 1
main_spider.py

@@ -160,7 +160,7 @@ class LightGBM(object):
         评估模型性能
         :return:
         """
-        fw = open("summary_tag_03{}.txt".format(self.dt), "a+", encoding="utf-8")
+        fw = open("summary_tag_03{}_spider.txt".format(self.dt), "a+", encoding="utf-8")
         # 测试数据
         with open("data/produce_data/x_data_total_return_predict_{}_spider.json".format(self.dt)) as f1:
             x_list = json.loads(f1.read())