Przeglądaj źródła

generate label for mysql

罗俊辉 1 rok temu
rodzic
commit
29a578942a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      main_spider.py

+ 1 - 1
main_spider.py

@@ -151,7 +151,7 @@ class LightGBM(object):
         评估模型性能
         :return:
         """
-        fw = open("result/summary_{}.json".format(dt), "a+", encoding="utf-8")
+        fw = open("result/summary_{}.txt".format(dt), "a+", encoding="utf-8")
         path = 'data/predict_data/predict_{}.json'.format(dt)
         x, y = self.read_data(path)
         Y_test = [0 if i <= 19 else 1 for i in y]