snajmark commited on
Commit
4d1e157
·
1 Parent(s): f618da0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -185,7 +185,7 @@ def predict_inverse(hardness_target, ys_target, request: gr.Request):
185
  acquisition_type ='LCB', # LCB acquisition
186
  acquisition_weight = 0.1) # Exploration exploitation
187
  # it may take a few seconds
188
- opt.run_optimization(max_iter=50)
189
  opt.plot_convergence()
190
  x_best = opt.X[np.argmin(opt.Y)]
191
  best_params = dict(zip(
 
185
  acquisition_type ='LCB', # LCB acquisition
186
  acquisition_weight = 0.1) # Exploration exploitation
187
  # it may take a few seconds
188
+ opt.run_optimization(max_iter=1)
189
  opt.plot_convergence()
190
  x_best = opt.X[np.argmin(opt.Y)]
191
  best_params = dict(zip(