snajmark commited on
Commit
69046b3
·
1 Parent(s): cc6fe26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -167,7 +167,7 @@ def predict_inverse(hardness_original_target, ys_original_target, request: gr.Re
167
  acquisition_type ='LCB', # LCB acquisition
168
  acquisition_weight = 0.1) # Exploration exploitation
169
  # it may take a few seconds
170
- opt.run_optimization(max_iter=50)
171
  # opt.plot_convergence()
172
  x_best = opt.X[np.argmin(opt.Y)]
173
  best_params = dict(zip(
 
167
  acquisition_type ='LCB', # LCB acquisition
168
  acquisition_weight = 0.1) # Exploration exploitation
169
  # it may take a few seconds
170
+ opt.run_optimization(max_iter=5)
171
  # opt.plot_convergence()
172
  x_best = opt.X[np.argmin(opt.Y)]
173
  best_params = dict(zip(