浏览代码

处理爬虫模型

罗俊辉 1 年之前
父节点
当前提交
51a30ec454
共有 1 个文件被更改,包括 1 次插入1 次删除
  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())