Browse Source

处理爬虫模型

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

+ 2 - 1
main_spider.py

@@ -145,7 +145,8 @@ class LightGBM(object):
             'feature_fraction': 0.8659696885542688,
             'bagging_fraction': 0.4671847911224712,
             'bagging_freq': 1,
-            'min_child_samples': 65
+            # 'min_child_samples': 65,
+            "num_threads": 16,  # 线程数量
         }
         # 训练模型
         num_round = 100