소스 검색

处理爬虫模型

罗俊辉 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())