소스 검색

分析代码

罗俊辉 1 년 전
부모
커밋
9b8c54418c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -118,7 +118,7 @@ class LightGBM(object):
         Generate data for label
         :return:
         """
-        with open("produce_data/y_data_total_return_{}_{}.json".format(self.flag, self.dt)) as f2:
+        with open("data/produce_data/y_data_total_return_{}_{}.json".format(self.flag, self.dt)) as f2:
             y_list = json.loads(f2.read())
         index_t = int(len(y_list) * self.split_c)
         temp = sorted(y_list)