Parcourir la source

处理爬虫模型

罗俊辉 il y a 1 an
Parent
commit
51a30ec454
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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())