David 3 weeks ago
parent
commit
c6f9ba9290
1 changed files with 1 additions and 1 deletions
  1. 1 1
      post_processing/cdq_coe_gen.py

+ 1 - 1
post_processing/cdq_coe_gen.py

@@ -116,7 +116,7 @@ def iterate_coe(pre_data, point, config, coe):
 
     # 执行准确率优化
     acc_bo = BayesianOptimization(f=acc_optimizer, pbounds=pbounds, random_state=42)
-    acc_bo.maximize(init_points=10, n_iter=20)
+    acc_bo.maximize(init_points=70, n_iter=400) # 增大初始点和迭代次数,捕捉可能的多峰结构
     best_acc_params = acc_bo.max['params']
     best_coe_m, best_coe_n = best_acc_params['m'], best_acc_params['n']
     best_acc = acc_bo.max['target']