Browse Source

处理爬虫模型

罗俊辉 1 year ago
parent
commit
e5f45ba219
1 changed files with 2 additions and 1 deletions
  1. 2 1
      main_spider.py

+ 2 - 1
main_spider.py

@@ -224,7 +224,8 @@ if __name__ == "__main__":
         f = "predict"
         dt = int(input("输入日期, 16-21:\n"))
         L = LightGBM(flag=f, dt=dt)
-        L.evaluate_model()
+        # L.evaluate_model()
+        L.feature_importance()
     # L = LightGBM("train", "whole")
     # study = optuna.create_study(direction=clear'maximize')
     # study.optimize(L.bays_params, n_trials=100)