Commit b29f459
authored
[ML] Stabilise Bayesian optimisation debug test (#2983)
The testMaximumExpectedImprovement test was failing intermittently on
Windows and macOS debug builds. With only 10 trials and a 0.7 win rate
threshold, variance was too high for reliable results given the reduced
number of BO iterations in debug mode.
Use 20 trials with 10 iterations each (similar total runtime) and lower
the threshold to 0.5. This gives a more stable win rate estimate while
still verifying that BO outperforms random search.
Made-with: Cursor1 parent 72ee8e6 commit b29f459
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| |||
0 commit comments